English
Language : 

Z86E3016PSG Datasheet, PDF (244/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
226
Address modes R or IR can be used to specify a 4-bit Working Register. In
Note: this format, the source or destination Working Register operand is speci-
fied by adding 1110b (Eh) to the high nibble of the operand. For example,
if Working Register R12 (CH) is the destination operand, then ECh will be
used as the destination operand in the Op Code.
E
src
or
E
dst
Example
If Working Register R3 contains 16h and Working Register R11 contains
20h, the statement:
ADD R3, R11
Op Code: 02 3B
leaves the value 36h in Working Register R3. The C, Z, S, V, D, and H
Flags are all cleared.
Example
If Working Register R16 contains 16h, Working Register R10 contains
20h, and Register 20h contains 11h, the statement:
ADD R16, @R10
Op Code: 03 FA
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 and Register 12h contains 1Bh, the state-
ment:
ADD 34h, 12h
Op Code: 04 12 34
leaves the value 49h in Register 34h. The H Flag is set, and the C, Z, S, V,
and D flags are cleared.
Instruction Description
UM001602-0904