English
Language : 

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