English
Language : 

4502 Datasheet, PDF (77/116 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4502 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
TAB (Transfer data to Accumulator from register B)
Instruction
code
D9
D0
Number of Number of Flag CY
0000011110
01E
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (A) ← (B)
Grouping: Other operation
Description: Transfers the contents of register B to reg-
ister A.
TAB1 (Transfer data to Accumulator and register B from timer 1)
Instruction
code
D9
D0
Number of
1001110000
270
2
16
words
1
Number of
cycles
1
Flag CY
–
Skip condition
–
Operation:
(B) ← (T17–T14)
(A) ← (T13–T10)
Grouping: Timer operation
Description: Transfers the high-order 4 bits (T17–T14) of
timer 1 to register B.
Transfers the low-order 4 bits (T13–T10) of
timer 1 to register A.
TAB2 (Transfer data to Accumulator and register B from timer 2)
Instruction
code
D9
D0
Number of
1001110001
271
2
16
words
1
Number of
cycles
1
Flag CY
–
Skip condition
–
Operation:
(B) ← (T27–T24)
(A) ← (T23–T20)
Grouping: Timer operation
Description: Transfers the high-order 4 bits (T27–T24) of
timer 2 to register B.
Transfers the low-order 4 bits (T23–T20) of
timer 2 to register A.
TABAD (Transfer data to Accumulator and register B from register AD)
Instruction
code
D9
D0
Number of
1001111001
279
2
16
words
1
Number of
cycles
1
Flag CY
–
Skip condition
–
Operation:
In A/D conversion mode (Q13 = 0),
(B) ← (AD9–AD6)
(A) ← (AD5–AD2)
In comparator mode (Q13 = 1),
(B) ← (AD7–AD4)
(A) ← (AD3–AD0)
(Q13 : bit 3 of A/D control register Q1)
Grouping:
Description:
A/D conversion operation
In the A/D conversion mode (Q13 = 0), trans-
fers the high-order 4 bits (AD9–AD6) of register
AD to register B, and the middle-order 4 bits
(AD5–AD2) of register AD to register A. In the
comparator mode (Q13 = 1), transfers the high-
order 4 bits (AD7–AD4) of comparator register
to register B, and the low-order 4 bits (AD3–
AD0) of comparator register to register A.
Rev.3.01 2005.02.02 page 77 of 112
REJ03B0105-0301