English
Language : 

4507 Datasheet, PDF (77/115 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4507 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
TABP p (Transfer data to Accumulator and register B from Program memory in page p)
Instruction
code
D9
D0
Number of Number of Flag CY
0
0
1
0
0
p4 p3 p2 p1 p0 2 0
8
+p
p
16
words
1
cycles
3
–
Skip condition
–
Operation:
(SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← p
(PCL) ← (DR2–DR0, A3–A0)
(B) ← (ROM(PC))7–4
(A) ← (ROM(PC))3–0
(PC) ← (SK(SP))
(SP) ← (SP) – 1
Grouping: Arithmetic operation
Description: Transfers bits 7 to 4 to register B and bits 3 to
0 to register A. These bits 7 to 0 are the ROM
pattern in address (DR2 DR1 DR0 A3 A2 A1
A0)2 specified by registers A and D in page p.
Note:
p is 0 to 15 for M34507M2, and p is 0 to 31
for M34507M4/E4.
When this instruction is executed, be careful
not to over the stack because 1 stage of
stack register is used.
TAD (Transfer data to Accumulator from register D)
Instruction
code
D9
D0
Number of Number of Flag CY
0
0
0
1
0
1
0
0
0
1
0
2
5
1 16
words
1
cycles
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
1
0
0
0
1
1
1
0
0
1
2
2
3
9 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)
TAI1 (Transfer data to Accumulator from register I1)
Instruction
code
D9
D0
Number of Number of Flag CY
1001010011
253
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (A) ← (I1)
Grouping: Interrupt operation
Description: Transfers the contents of interrupt control
register I1 to register A.
Rev.3.01 2005.02.04 page 77 of 111
REJ03B0107-0301