On May 18,  1:20pm in "Re: Weekly ramble...", you warbled:
]       Forget that.  You have finished if and only if you fall off the end
]       of the screen.

Oh yeah... stupidity. In fact, that was how I had it originally, but I
added that code right at the end because I decided it wouldn't work otherwise...

*sigh*

] It doesn't.  And neither does inc a.  They both set the zero flag though,
] so use that instead.

*grin*

Oh dear, oh dear, oh dear. I might have to start re-learning z80, the
amount of mistakes I make.

Suffice it to say that on the ARM increasing a register _does_ affect
all the flags...

Then again, the only way to increase a register is to add 1, and an add
on the Sam _does_ change them :-)

Now if you could get inc a to execute in one cycle, you'd have one-up
on the ARM systems :)

Geoff

Reply via email to