Z80 wait instructions

From MSX Game Library

Revision as of 22:52, 2 March 2024 by Aoineko (talk | contribs)

Inst. Wait
CC
Size
(bytes)
Flag modification
NOP 5 1 None
OR 0 8 2 C and N flags cleared, P/V detects parity, and rest are modified by definition.
AND 0 8 2 C and N flags cleared, P/V is parity, rest are altered by definition.
NOP
NOP
10 2 None
BIT 0, (HL) 14 2 Opposite of the bit #0 is written into the Z flag. C is preserved, N is reset, H is set, and S and P/V are undefined.