Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!ucbvax!ucbcad!tektronix!hplabs!sri-unix!smith@NRL-AIC.ARPA
From: smith@NRL-AIC.ARPA
Newsgroups: net.lang.c
Subject: 8bit 6809 ints
Message-ID: <899@sri-arpa.UUCP>
Date: Fri, 15-Jun-84 12:37:00 EDT
Article-I.D.: sri-arpa.899
Posted: Fri Jun 15 12:37:00 1984
Date-Received: Tue, 19-Jun-84 01:05:25 EDT
Lines: 14

From:  Russ Smith 

I've written reams of C code (on a z80 machine) where I would have
loved to get away from the fact that the ints on my C compiler (C/80)
are 16 bits rather than 8 bits. Because K&R says most everything is
converted to int in expressions a good portion of the compiled code
execution (actually dealing with chars) is comprised of calls to conversion
routines. In my case, much of the code deals with very small absolute
values for numbers hence my "memory-saving" use of chars. Methinks the
6809 must be really lousy at 16 bit arithemetic. It would certainly be
the case that 8 bit arithemetic for most of a benchmark program would
tend to greatly enhance the performance (relative to other compilers)....

Russ