At 07:06 PM 7/10/99 +0200, you wrote:
>Your way is faster, but it doesn't preserve the DE-register and it's only 4
>T-states faster...
About the T-states, here is my code again:
;DE = number of bytes
dec de
inc e
inc d
ld b,e
ld a,d
;B = initial inner loop (OTIR/DJNZ) counter
;A = outer loop (JR/JP) counter
The "ld a,d" is there only because you used A as the outer loop counter. If
you use D instead, you can omit this instruction.
>So you use it too, eh? Did you think of it yourself or did you read about it
>in my article in Track?
Most probably I either thought of it myself or saw it when disassembling
something. I haven't read your article (or Track at all), sorry.
Bye,
Maarten
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****