English
Language : 

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