|
4524 Datasheet, PDF (113/161 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4524 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
p5 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 reg-
isters A and D in page p.
The pages which can be referred as follows;
after the SBK instruction: 64 to 127
after the RBK instruction: 0 to 63
after system is released from reset or returned from power down: 0 to 63.
Note: p is 0 to 63 for M34524M8, and p is 0 to 95 for M34524MC, and p is 0 to 127 for M34524ED.
When this instruction is executed, be careful not to over the stack because 1 stage of
stack register is used.
TABPS (Transfer data to Accumulator and register B from PreScaler)
Instruction
code
D9
D0
Number of Number of Flag CY
1
0
0
1
1
1
0
1
0
1
2
2
7
5 16
words
1
cycles
1
â
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.
Rev.2.00 Jul 27, 2004 page 113 of 159
REJ03B0091-0200Z
|
▷ |