English
Language : 

Z86E3016PSG Datasheet, PDF (245/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 CPU
User Manual
227
Example
If Register 4Bh contains 82h, Working Register R3 contains 10h, and
Register 10h contains 01h, the statement:
ADD 3Eh, @R3
Op Code: 05 E3 4B
leaves the value 83h in Register 4Bh. The S Flag is set, and the C, Z, V, D,
and H flags are cleared.
Example
If Register 6Ch contains 2Ah, the statement:
ADD 6Ch, #03h
Op Code: 06 6C 03
leaves the value 2Dh in Register 6Ch. The C, Z, S, V, D, and H Flags are
all cleared.
Example
If Register D4h contains 5Fh and Register 5Fh contains 4Ch, the state-
ment:
ADD @D4h, #02h
Op Code: 07 D4 02
leaves the value 4Eh in Register 5Fh. The C, Z, S, V, D, and H Flags are
all cleared.
UM001602-0904
Instruction Description