Re: coding the Z80 and 6510 From: w_gayk@NOSPAMbielefeld.netsurf.de (Brix) Reply to: Brix Date: Tue, 3 Nov 1998 21:13:49 +0100 Organization: [Customers of] IS Internet Services GmbH & Co, Hamburg References: <70r5ec$8jp$17@newsreader1.core.theplanet.net> <3635b416.21822437@news.telepac.pt> <16476-agent.imc@comlab.ox.ac.uk> <1663.608T139T12920647@bunty.hoven> > The LDIR command copies the byte in (HL) to (DE), increments HL and DE, > decrements BC, and repeats until BC=0. This opcode it quite useful it seems.. similar to the MOV command on 68000s? > Of course, this is only a trivial example, and no doubt there are other > situations where the tables are turned. > The 6510 is certainly more > efficient in terms of cycle usage, but this example suggests that the > Z80's generally higher clock speeds more than compensate for it. That is exactly what I'm telling all the time. Clockrates do not always matter. What we see here, is that the Z80 and the 6510 are "about" the same when it com es to performance. Of course there are situations like this when Z80 is faster and of course there are situation that are different. -Brix-