English
Language : 

4502 Datasheet, PDF (73/116 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4502 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
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.
SD (Set port D specified by register Y)
Instruction
code
D9
D0
Number of Number of Flag CY
0000010101
015
words
cycles
2
16
1
1
–
Skip condition
–
Operation:
(D(Y)) ← 1
(Y) = 0 to 5
Grouping: Input/Output operation
Description: Sets (1) to a bit of port D specified by register Y.
Note:
Set 0 to 5 to register Y because port D is six
ports (D0–D5).
When values except above are set to regis-
ter Y, this instruction is equivalent to the
NOP instruction.
SEA n (Skip Equal, Accumulator with immediate data n)
Instruction D9
D0
code
0000100101
025
2
16
Number of
words
2
Number of
cycles
2
Flag CY
–
Skip condition
(A) = n
Operation:
0 0 0 1 1 1 n n n n 2 0 7 n 16 Grouping: Comparison operation
(A) = n ?
Description: Skips the next instruction when the con-
n = 0 to 15
tents of register A is equal to the value n in
the immediate field.
Executes the next instruction when the con-
tents of register A is not equal to the value n
in the immediate field.
SEAM (Skip Equal, Accumulator with Memory)
Instruction
code
D9
D0
Number of Number of Flag CY
0000100110
026
words
cycles
2
16
1
1
–
Skip condition
(A) = (M(DP))
Operation: (A) = (M(DP)) ?
Grouping: Comparison operation
Description: Skips the next instruction when the con-
tents of register A is equal to the contents of
M(DP).
Executes the next instruction when the con-
tents of register A is not equal to the
contents of M(DP).
Rev.3.01 2005.02.02 page 73 of 112
REJ03B0105-0301