English
Language : 

Z86E3016PSG Datasheet, PDF (248/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
230
leaves the value 27h in Working Register R16. The C, Z, S, V, D, and H
Flags are all cleared.
Example
If Register 34h contains 2Eh, the C Flag is set, and Register 12h contains
1Bh, the statement:
ADC 34h, 12h
Op Code: 14 12 34
leaves the value 4Ah in Register 34h. The H Flag is set, and the C, Z, S, V,
and D flags are cleared.
Example
If Register 4Bh contains 82h, the C Flag is set, Working Register R3 con-
tains 10h, and Register 10h contains 01h, the statement:
ADC 4Bh, @R3
Op Code: 15 E3 4B
leaves the value 84h 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, and the C Flag is not set, the statement:
ADC 6Ch, #03h
Op Code: 16 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, Register 5Fh contains 4Ch, and the C Flag
is set, the statement:
ADC @D4h, #02h
Op Code: 17 D4 02
Instruction Description
UM001602-0904