Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
239
leaves the value 27h in Register 6Ch. The D Flag is set, and the C, Z, S, V, and H Flags are
cleared.
Example 6
If Register D4h contains 5Fh, Register 5Fh contains 4Ch, and the C Flag is set, the state-
ment:
SBC @D4h, #02h
Op Code: 37 D4 02
leaves the value 4Ah in Register 5Fh. The D Flag is set, and the C, Z, S, V, and H Flags are
cleared.