OK, so my memory isn't too hot. Given that this code will probably execute
in screen time, is it quicker to do:

LD A, (HL) = 7 cycles
AND &EE = 7 cycles
LD (HL), A = 7 cycles

or

RES 0, (HL) = 15 cycles
RES 4, (HL) = 15 cycles

NB The "cycles" here are raw z80 figures.

Obviously on first glance the first method is 9 cycles quicker... but IIRC
ASIC contention slows down memory access, the question is how much?

It seems that method 2 runs quicker. I'd like to know why :)

Cheers

G

Reply via email to