|
4507_M Datasheet, PDF (83/216 Pages) Renesas Technology Corp – 4-BIT CISC SINGLE-CHIP MICROCOMPUTER 4500 SERIES | |||
|
◁ |
4507 Group
HARDWARE
INSTRUCTIONS
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
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)) â 0
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).
SC (Set Carry flag)
Instruction
code
D9
D0
Number of Number of Flag CY
0000000111
007
words
cycles
2
16
1
1
1
Skip condition
â
Operation: (CY) â 1
Grouping: Arithmetic operation
Description: Sets (1) to carry flag CY.
SCP (Set Port C)
Instruction
code
D9
D0
Number of Number of Flag CY
1010001101
28D
words
cycles
2
16
1
1
â
Skip condition
â
Operation: (C) â 1
Grouping: Input/Output operation
Description: Sets (1) to port C.
Rev.2.01 Feb 04, 2005
REJ09B0195-0201
1-71
|
▷ |