From: utzoo!decvax!harpo!seismo!hao!hplabs!sri-unix!MBF@cmu-cs-c.arpa
Newsgroups: net.micro
Title: counting to 10 million with a 16 bit integer?
Article-I.D.: sri-arpa.380
Posted: Sat Feb  5 22:38:26 1983
Received: Wed Feb  9 05:12:22 1983


The first thing that hit me when I read the post about the C benchmark
running in 4 seconds on a Z80 was the fact that it would have to be
doing about 2.5 million 32-bit decrements and conditional branches
per second (!) - I'd love to have such a machine!! Z80's don't have
a 32-bit DJNZ instruction!

I guess BDS C doesn't believe in compile-time range-checking of constants:
the program must be counting 10M modulo 64k, or some such.  But, then,
16-bit ints would make a lot of sense on a z80.

Mark Dzmura
-------