|
4501_M Datasheet, PDF (90/212 Pages) Renesas Technology Corp – 4-BIT CISC SINGLE-CHIP MICROCOMPUTER 4500 SERIES | |||
|
◁ |
4501 Group
HARDWARE
INSTRUCTIONS
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
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:
Description:
Timer operation
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.
TABE (Transfer data to Accumulator and register B from register E)
Instruction
code
D9
D0
Number of Number of Flag CY
0000101010 02A
words
cycles
2
16
1
1
â
Skip condition
â
Operation:
(B) â (E7âE4)
(A) â (E3âE0)
Grouping:
Description:
Register to register transfer
Transfers the high-order 4 bits (E7âE4) of
register E to register B, and low-order 4 bits
of register E to register A.
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:
Description:
Note:
Arithmetic operation
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 ad-dress (DR2 DR1 DR0 A3 A2 A1
A0)2 specified by registers A and D in page p.
p is 0 to 15 for M34501M2, and p is 0 to 31
for M34501M4/E4.
When this instruction is executed, be careful
not to over the stack because 1 stage of
stack register is used.
Rev.2.01 Feb 07, 2005
REJ09B0192-0201
1-78
|
▷ |