English
Language : 

4570 Datasheet, PDF (45/69 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MACHINE INSTRUCTIONS (CONTINUED)
Parameter
Instruction code
Mnemonic
Type of
instructions
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Hexadecimal
notation
Function
AM
0 0 0 0 0 0 1 0 1 0 0 0 A 1 1 (A) ← (A) + (M(DP))
AMC
0000001011
00B 1
1 (A) ← (A) + (M(DP))+ (CY)
(CY) ← Carry
An
0 0 0 1 1 0 n n n n 0 6 n 1 1 (A) ← (A) + n
n = 0 to 15
AND
0 0 0 0 0 1 1 0 0 0 0 1 8 1 1 (A) ← (A)AND(M(DP))
OR
0 0 0 0 0 1 1 0 0 1 0 1 9 1 1 (A) ← (A)OR(M(DP))
SC
RC
SZC
CMA
RAR
SB j
RB j
SZB j
SEAM
SEA n
0 0 0 0 0 0 0 1 1 1 0 0 7 1 1 (CY) ← 1
0 0 0 0 0 0 0 1 1 0 0 0 6 1 1 (CY) ← 0
0 0 0 0 1 0 1 1 1 1 0 2 F 1 1 (CY) = 0 ?
0 0 0 0 0 1 1 1 0 0 0 1 C 1 1 (A) ← (A)
0 0 0 0 0 1 1 1 0 1 0 1 D 1 1 → CY → A3A2A1A0
00010111j j
05 C 1
+j
1 (Mj(DP)) ← 1
j = 0 to 3
00010011j j
04 C 1
+j
1 (Mj(DP)) ← 0
j = 0 to 3
00001000j j
02 j 1
1 (Mj(DP)) = 0 ?
j = 0 to 3
0 0 0 0 1 0 0 1 1 0 0 2 6 1 1 (A) = (M(DP)) ?
0000100101
000111nnnn
02 5 2
07 n
2 (A) = n ?
n = 0 to 15
46
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Skip condition
Detailed description
–
– Adds the contents of M(DP) to register A. Stores the result in register A. The contents of carry flag CY
remains unchanged.
–
0/1 Adds the contents of M(DP) and carry flag CY to register A. Stores the result in register A and carry flag
CY.
Overflow = 0
–
–
–
–
(CY) = 0
–
–
–
– Adds the value n in the immediate field to register A.
The contents of carry flag CY remains unchanged.
Skips the next instruction when there is no overflow as the result of operation.
– Performs the AND operation between the contents of register A and the contents of M(DP), and stores
the result in register A.
– Performs the OR operation between the contents of register A and the contents of M(DP), and stores
the result in register A.
1 Sets carry flag CY to “1.”
0 Clears carry flag CY to “0.”
– Skips the next instruction when the contents of carry flag CY is “0.”
– Stores the one’s complement for register A’s contents in register A.
0/1 Rotates the contents of register A including the contents of carry flag CY to the right by 1 bit.
– Sets the contents of bit j (bit specified by the value j in the immediate field) of M(DP) to “1.”
–
– Clears the contents of bit j (bit specified by the value j in the immediate field) of M(DP) to “0.”
(Mj(DP)) = 0
j = 0 to 3
(A) = (M(DP))
(A) = n
– Skips the next instruction when the contents of bit j (bit specified by the value j in the immediate field)
of M(DP) is “0.”
– Skips the next instruction when the contents of register A is equal to the contents of M(DP).
– Skips the next instruction when the contents of register A is equal to the value n in the immediate field.
47