English
Language : 

TLC156 Datasheet, PDF (31/50 Pages) List of Unclassifed Manufacturers – EPROM/ROM-Based 8-Bit Microcontroller Series
TLC
TLC156
DAS
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
DECR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
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
DECRSZ
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
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)
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
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
INCR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
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.95 Nov 20, 2003
P.2/TLC156