|
CP80S54 Datasheet, PDF (31/47 Pages) List of Unclassifed Manufacturers – EPROM/ROM-Based 8-Bit Microcontroller Series | |||
|
◁ |
CP80S54/56
DAS
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
DECR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
DECRSZ
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
INCR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
Adjust ACCâs data format from HEX to DEC
DAS
None
ACC(hex) Ã ACC(dec)
None
Convert the ACC data from hexadecimal to decimal format after any subtraction operation
and restored to ACC.
1
Decrement R
DECR R, d
0 ⤠R ⤠63
dâ [0,1]
R - 1 Ã dest
Z
Decrement register âRâ. If âdâ is 0 the result is stored in the ACC register. If âdâ is 1 the result is
stored back in register âRâ.
1
Decrement R, Skip if 0
DECRSZ R, d
0 ⤠R ⤠63
dâ [0,1]
R - 1 Ã dest; skip if result =0
None
The contents of register âRâ are decremented. If âdâ is 0 the result is placed in the ACC
register. If âdâ is 1 the result is placed back in register âRâ.
If the result is 0, the next instruction, which is already fetched, is discarded and a NOP is
executed instead making it a two-cycle instruction.
1(2)
Unconditional Branch
GOTO I
0 ⤠I ⤠1023
I Ã PC<9:0>
PCHBUF<2> Ã PC<10>
None
GOTO is an unconditional branch. The 10-bit immediate value is loaded into PC bits <9:0>.
GOTO is a two-cycle instruction.
2
Increment R
INCR R, d
0 ⤠R ⤠63
dâ [0,1]
R + 1 Ã dest
Z
The contents of register âRâ are incremented. If âdâ is 0 the result is placed in the ACC register.
If âdâ is 1 the result is placed back in register âRâ.
1
Rev0.1 Nov 30, 2005
P.31/CP80S54/S56
|
▷ |