English
Language : 

4559 Datasheet, PDF (97/148 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4559 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
RTI (ReTurn from Interrupt)
Instruc-
tion
code
D9
D0
0 0 0 1 0 0 0 1 1 0 2 0 4 6 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (PC) ← (SK(SP))
tion: (SP) ← (SP) − 1
Grouping: Return operation
Description: Returns from interrupt service routine to main routine.
Returns each value of data pointer (X, Y, Z), carry flag, skip
status, NOP mode status by the continuous description of
the LA/LXY instruction, register A and register B to the
states just before interrupt.
RTS (ReTurn from subroutine and Skip)
Instruc-
tion
code
D9
D0
0 0 0 1 0 0 0 1 0 1 2 0 4 5 16
Number of
words
1
Number of
cycles
2
Flag CY
-
Skip condition
Skip at uncondition
Opera- (PC) ← (SK(SP))
tion: (SP) ← (SP) − 1
Grouping: Return operation
Description: Returns from subroutine to the routine called the subrou-
tine, and skips the next instruction at uncondition.
RUPT (Reset UPT flag)
Instruc-
tion
code
D9
D0
0 0 0 1 0 1 1 0 0 0 2 0 5 8 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (UPTF) ←0
tion:
Grouping: Other operation
Description: Clears (0) to the high-order bit reference enable flag UPTF.
Note:
Even when the table reference instruction (TABP p) is exe-
cuted, the high-order 2 bits of ROM reference data is not
transferred to register D.
SB j (Set Bit)
Instruc-
tion
code
D9
D0
00010111
j
j
2
0
5
C
+j 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (Mj(DP)) ← 1
tion: j = 0 to 3
Grouping: Bit operation
Description: Sets (1) the contents of bit j (bit specified by the value j in
the immediate field) of M(DP).
Rev.1.04 Aug 23, 2007 Page 97 of 146
REJ03B0188-0104