Z8
®
CPU
User Manual
UM001604-0108
Instruction Set
141
Instruction Set
Z8
®
instructions can be divided functionally into the following eight groups:
•
Load
•
Bit Manipulation
•
Arithmetic
•
Block Transfer
•
Logical
•
Rotate and Shift
•
Program Control
•
CPU Control
The following summary shows the instructions belonging to each group and the number of
operands required for each. The source operand is
src
, the destination operand is
dst
,
and a condition code is
cc
.
Table 26. Load Instructions
Mnemonic
Operands
Instruction
CLR
dst
Clear
LD
dst, src
Load
LDC
dst, src
Load Constant
LDE
dst, src
Load External
POP
dst
Pop
PUSH
src
Push
Table 27. Arithmetic Instructions
Mnemonic
Operands
Instruction
ADC
dst, src
Add with Carry
ADD
dst, src
Add
CP
dst, src
Compare
DA
dst
Decimal Adjust
DEC
dst
Decrement
DECW
dst
Decrement Word