User's Manual

DESCRIPTION OF INSTRUCTIONS
283
33. DEC data address (Decrement memory)
00010101
70
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example DEC 5AH
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(data address)(data address)–1:
C AC F0 RS1 RS0 OV F1 P
:
:
:
The specified data address contents are decremented by 1.
:
00010101
70
Byte 1
5AH
11111111
70
2
1
01011010
70
Byte 2
Before execution
5AH
11111110
70
After execution
: