CP80S54E ETC2 [List of Unclassifed Manufacturers], CP80S54E Datasheet - Page 31

no-image

CP80S54E

Manufacturer Part Number
CP80S54E
Description
EPROM/ROM-Based 8-Bit Microcontroller Series
Manufacturer
ETC2 [List of Unclassifed Manufacturers]
Datasheet
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)
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
d
R - 1
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
DECRSZ R, d
0
d
R - 1
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
PCHBUF<2>
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
d
R + 1
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
Decrement R, Skip if 0
I
R
[0,1]
R
[0,1]
I
R
[0,1]
PC<9:0>
1023
63
63
63
dest
dest; skip if result =0
dest
ACC(dec)
PC<10>
CP80S54/56
Rev0.1 Nov 30, 2005
P.31/CP80S54/S56

Related parts for CP80S54E