English
Language : 

4502 Datasheet, PDF (61/116 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4502 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET)
A n (Add n and accumulator)
Instruction
code
D9
D0
Number of Number of Flag CY
000110nnnn
06n
words
cycles
2
16
1
1
–
Skip condition
Overflow = 0
Operation:
(A) ← (A) + n
n = 0 to 15
Grouping: Arithmetic operation
Description: Adds the value n in the immediate field to
register A, and stores a result in register A.
The contents of carry flag CY remains unchanged.
Skips the next instruction when there is no
overflow as the result of operation.
Executes the next instruction when there is
overflow as the result of operation.
ADST (A/D conversion STart)
Instruction
code
D9
D0
Number of Number of Flag CY
1010011111
29F
words
cycles
2
16
1
1
–
Skip condition
–
Operation:
(ADF) ← 0
Q13 = 0: A/D conversion starting
Q13 = 1: Comparator operation starting
(Q13 : bit 3 of A/D control register Q1)
Grouping: A/D conversion operation
Description: Clears (0) to A/D conversion completion
flag ADF, and the A/D conversion at the A/D
conversion mode (Q13 = 0) or the compara-
tor operation at the comparator mode (Q13
= 1) is started.
AM (Add accumulator and Memory)
Instruction
code
D9
D0
Number of Number of Flag CY
0000001010
00A
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (A) ← (A) + (M(DP))
Grouping: Arithmetic operation
Description: Adds the contents of M(DP) to register A.
Stores the result in register A. The contents
of carry flag CY remains unchanged.
AMC (Add accumulator, Memory and Carry)
Instruction
code
D9
D0
Number of Number of Flag CY
0000001011
00B
words
cycles
2
16
1
1
0/1
Skip condition
–
Operation:
(A) ← (A) + (M(DP)) + (CY)
(CY) ← Carry
Grouping: Arithmetic operation
Description: Adds the contents of M(DP) and carry flag
CY to register A. Stores the result in regis-
ter A and carry flag CY.
Rev.3.01 2005.02.02 page 61 of 112
REJ03B0105-0301