SCF and CCF z80 instructions

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
Andrew771
Drutt
Posts: 42
Joined: Mon May 04, 2020 9:59 pm
Location: Moscow, Russia

Re: SCF and CCF z80 instructions

Post by Andrew771 »

Morkin wrote: Tue May 26, 2020 3:35 pm Always wondered why people were more inclined to do things like OR A, as it seemed to affect other stuff a bit more that could potentially give me future debugging headaches. But now I know...
AND A not only resets the flag Z, but is used instead CP 0
Coder of ZXOOM, Euphoria 2D, ZX Like Pascal, Russian Railway Magnate...
Post Reply