English
Language : 

Z86E3016PSG Datasheet, PDF (338/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
320
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 45h (01000101b) and Working Register
R7 contains the value 01h (00000001b) (bit 0 is being tested if it is 1),
the statement:
TCM R3, R7
Op Code: 62 37
will set the Z Flag indicating bit 0 in the destination operand is 1. The V
and S flags are cleared.
Example
If Working Register R14 contains the value F3h (11110011b), Working
Register R5 contains CBh, and Register CBh contains 88h (10001000b)
(bit 7 and bit 3 are being tested if they are 1), the statement:
TCM R14, @R5
Op Code: 63 E5
will reset the Z Flag, because bit 3 in the destination operand is not a 1.
The V and S Flags are also cleared.
Example
If Register D4h contains the value 04h (000001000b), and Working Reg-
ister R0 contains the value 80h (10000000b) (bit 7 is being tested if it is
1), the statement:
TCM D4h, R0
Op Code: 64 E0 D4
Instruction Description
UM001602-0904