|
Z86E3016PSG Datasheet, PDF (258/348 Pages) Zilog, Inc. – Z86E3016PSG | |||
|
◁ |
Z8 Family of Microcontrollers
User Manual
240
if Working Register R12 (CH) is the destination operand, then ECh will be
used as the destination operand in the Op Code.
Example
E
src
or
E
dst
If Working Register R3 contains 16h and Working Register R11 contains
20h, the statement:
CP R3, R11
Op Code: A2 3B
sets the C and S Flags, and the Z and V ï¬ags are cleared.
Example
If Working Register R15 contains 16h, Working Register R10 contains
20h, and Register 20h contains 11h, the statement:
CP R16, @R10
Op Code: A3 FA
clears the C, Z, S, and V Flags.
Example
If Register 34h contains 2Eh and Register 12h contains 1Bh, the state-
ment:
CP 34h,12h
Op Code: A4 12 34
clears the C, Z, S, and V Flags.
Example
If Register 4Bh contains 82h, Working Register R3 contains 10h, and
Register 10h contains 01h, the statement:
CP 4Bh, @R3
Op Code: A5 E3 4B
Instruction Description
UM001602-0904
|
▷ |