English
Language : 

4524 Datasheet, PDF (103/161 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4524 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
RT (ReTurn from subroutine)
Instruction
code
D9
D0
Number of Number of Flag CY
0001000100
044
words
cycles
2
16
1
2
–
Skip condition
–
Operation:
(PC) ← (SK(SP))
(SP) ← (SP) – 1
Grouping: Return operation
Description: Returns from subroutine to the routine
called the subroutine.
RTI (ReTurn from Interrupt)
Instruction
code
D9
D0
Number of Number of Flag CY
0001000110
046
words
cycles
2
16
1
1
–
Skip condition
–
Operation:
(PC) ← (SK(SP))
(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 in-
struction, register A and register B to the
states just before interrupt.
RTS (ReTurn from subroutine and Skip)
Instruction
code
D9
D0
Number of Number of Flag CY Skip condition
0001000101
045
2
16
words
1
cycles
2
–
Skip at uncondition
Operation:
(PC) ← (SK(SP))
(SP) ← (SP) – 1
Grouping: Return operation
Description: Returns from subroutine to the routine
called the subroutine, and skips the next in-
struction at uncondition.
SB j (Set Bit)
Instruction
code
D9
D0
Number of Number of Flag CY
00010111j
j
0
2
5
C
+j 16
words
1
cycles
1
–
Skip condition
–
Operation:
(Mj(DP)) ← 1
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.2.00 Jul 27, 2004 page 103 of 159
REJ03B0091-0200Z