English
Language : 

4559 Datasheet, PDF (104/148 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4559 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
TAB2 (Transfer data to Accumulator and register B from timer 2)
Instruc-
Number of
tion
code
D9
D0
1 0 0 1 1 1 0 0 0 1 2 2 7 1 16
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (B) ← (T27−T24)
tion: (A) ← (T23−T20)
Grouping: Timer operation
Description: Transfers the high-order 4 bits (T27−T24) of timer 2 to reg-
ister B.
Transfers the low-order 4 bits (T23−T20) of timer 2 to regis-
ter A.
TABE (Transfer data to Accumulator and register B from register E)
Instruc-
Number of
tion
code
D9
D0
0 0 0 0 1 0 1 0 1 0 2 0 2 A 16
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (B) ← (E7−E4)
tion: (A) ← (E3−E0)
Grouping: Register to register transfer
Description: Transfers the high-order 4 bits (E7−E4) of register E to reg-
ister 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)
Instruc-
tion
D9
D0
code
0
0
1
0 p5 p4 p3 p2 p1 p0 2
0
8
+p
p
16
Number of
words
1
Number of
cycles
3
Flag CY
-
Skip condition
-
Opera-
tion:
(SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← p
(PCL) ← (DR2−DR0, A3−A0)
(B) ← (ROM(PC))7−4
(A) ← (ROM(PC))3−0
(UPTF) ← 1
(DR1, DR0) ← (ROM(PC))9, 8
(DR2) ← 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. When UPTF is 1, Transfers bits 9, 8 to the low-
order 2 bits (DR1, DR0) of register D, and “0” is stored to the least significant
bit (DR2) of register D.
When this instruction is executed, 1 stage of stack register (SK) is used.
Note:
p = 0 to 47
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 Pre-Scaler)
Instruc-
tion
D9
D0
code
1 0 0 1 1 1 0 1 0 1 2 2 7 5 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (B) ← (TPS7−TPS4)
tion: (A) ← (TPS3−TPS0)
Grouping: Timer operation
Description: Transfers the high-order 4 bits of prescaler to register B.
Transfers the low-order 4 bits of prescaler to register A.
Rev.1.04 Aug 23, 2007 Page 104 of 146
REJ03B0188-0104