Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!kevinw%isl@BRL.ARPA From: kevinw%isl@BRL.ARPA Newsgroups: net.micro Subject: Re: Z80 is a 16 bitter? Message-ID: <16855@sri-arpa.UUCP> Date: Tue, 21-Feb-84 20:30:00 EST Article-I.D.: sri-arpa.16855 Posted: Tue Feb 21 20:30:00 1984 Date-Received: Fri, 2-Mar-84 11:24:13 EST Lines: 23 sorry, wrongo on your analysis. the 68k may be called a 32 bit machine because it fully supports 32 bit ops, even tho it only has a 16 bit alu. try doing a xra a lxi h,count loop: dcx h jnz loop or some equivalent with sub/add (hl,..)... z80 (and 8080) doesn't use flags for 16 bit ops. thus this is really only an 8 bit machine with some (limited) 16 bit capability. contrast this to a 6502 which only thinks in terms of bytes... try to get a lemon like an 8086 to do 32 bit ops... well, it is to 16 bits what the 6502 is to 8 bits (and notice which two chips have taken over their respective markets. i still want to see a compiler which will handle 100k long arrays, etc for the 86 without having the programmer fudge around. (intel's won't even let you have a 64k array -- allocates 0k for it (no overflow...) cheers, -- Kevin kevinw@su-dsn