|
4518 Datasheet, PDF (111/160 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4518 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
TABPS (Transfer data to Accumulator and register B from PreScaler)
Instruction
code
D9
D0
Number of
1
0
0
1
1
1
0
1
0
1
2
2
7
5 16
words
1
Number of
cycles
1
Flag CY
â
Skip condition
â
Operation:
(B) â (TPS7âTPS4)
(A) â (TPS3âTPS0)
Grouping: Timer operation
Description: Transfers the high-order 4 bits (TPS7â
TPS4) of prescaler to register B, and
transfers the low-order 4 bits (TPS3âTPS0)
of prescaler to register A.
TABSI (Transfer data to Accumulator and register B from register SI)
Instruction
code
D9
D0
Number of
1
0
0
1
1
1
1
0
0
0
2
2
7
8 16
words
1
Number of
cycles
1
Flag CY
â
Skip condition
â
Operation:
(B) â (SI7âSI4)
(A) â (SI3âSI0)
Grouping: Serial I/O operation
Description: Transfers the high-order 4 bits (SI7âSI4) of
serial I/O register SI to register B, and
transfers the low-order 4 bits (SI3âSI0) of
serial I/O register SI to register A.
TAD (Transfer data to Accumulator from register D)
Instruction
code
D9
D0
Number of Number of Flag CY
0001010001
051
words
cycles
2
16
1
1
â
Skip condition
â
Operation:
(A2âA0) â (DR2âDR0)
(A3) â 0
Grouping: Register to register transfer
Description: Transfers the contents of register D to the
low-order 3 bits (A2âA0) of register A.
Note:
When this instruction is executed, â0â is
stored to the bit 3 (A3) of register A.
TADAB (Transfer data to register AD from Accumulator from register B)
Instruction
code
D9
D0
Number of
1000111001
239
2
16
words
1
Number of
cycles
1
Flag CY
â
Skip condition
â
Operation:
(AD7âAD4) â (B)
(AD3âAD0) â (A)
Grouping: A/D conversion operation
Description: In the A/D conversion mode (Q13 = 0), this in-
struction is equivalent to the NOP instruction.
In the comparator mode (Q13 = 1), trans-
fers the contents of register B to the
high-order 4 bits (AD7âAD4) of comparator
register, and the contents of register A to
the low-order 4 bits (AD3âAD0) of compara-
tor register.
(Q13 = bit 3 of A/D control register Q1)
Rev.3.01 2005.06.15 page 111 of 157
REJ03B0008-0301
|
▷ |