
Skip condition
Detailed description
C
MITSUBISHI
ELECTRIC
MITSUBISHI
ELECTRIC
27
26
Instruction code
Function
Mnemonic
Hexadecimal
notation
N
w
N
c
Parameter
Type of
instructions
D
8
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
MITSUBISHI MICROCOMPUTERS
4280 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
MITSUBISHI MICROCOMPUTERS
4280 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
(A)
←
(B)
(B)
←
(A)
(A)
←
(Y)
(Y)
←
(A)
(ER
7
–ER
4
)
←
(B) (ER
3
–ER
0
)
←
(A)
(B)
←
(ER
7
–ER
4
) (A)
←
(ER
3
–ER
0
)
(DR
2
–DR
0
)
←
(A
2
–A
0
)
(X)
←
x, x = 0 to 3
(Y)
←
y, y = 0 to 15
(Y)
←
(Y) + 1
(Y)
←
(Y) – 1
(A)
←
(M(DP))
(X)
←
(X) EXOR(j)
j = 0 to 3
(A)
←→
(M(DP))
(X)
←
(X) EXOR(j)
j = 0 to 3
(A)
←→
(M(DP))
(X)
←
(X) EXOR(j)
j = 0 to 3
(Y)
←
(Y) – 1
(A)
←→
(M(DP))
(X)
←
(X) EXOR(j)
j = 0 to 3
(Y)
←
(Y) + 1
TAB
TBA
TAY
TYA
TEAB
TABE
TDA
LXY x, y
INY
DEY
TAM j
XAM j
XAMD j
XAMI j
Transfers the contents of register B to register A.
Transfers the contents of register A to register B.
Transfers the contents of register Y to register A.
Transfers the contents of register A to register Y.
Transfers the contents of registers A and B to register E.
Transfers the contents of register E to registers A and B.
Transfers the contents of register A to register D.
Loads the value x in the immediate field to register X, and the value y in the immediate field to register
Y.
When the LXY instructions are continuously coded and executed, only the first LXY instruction is executed
and other LXY instructions coded continuously are skipped.
Adds 1 to the contents of register Y. As a result of addition, when the contents of register Y is 0, the
next instruction is skipped.
Subtracts 1 from the contents of register Y. As a result of subtraction, when the contents of register Y
is 15, the next instruction is skipped.
After transferring the contents of M(DP) to register A, an exclusive OR operation is performed between
register X and the value j in the immediate field, and stores the result in register X.
After exchanging the contents of M(DP) with the contents of register A, an exclusive OR operation is
performed between register X and the value j in the immediate field, and stores the result in register X.
After exchanging the contents of M(DP) with the contents of register A, an exclusive OR operation is
performed between register X and the value j in the immediate field, and stores the result in register X.
Subtracts 1 from the contents of register Y. As a result of subtraction, when the contents of register Y
is 15, the next instruction is skipped.
After exchanging the contents of M(DP) with the contents of register A, an exclusive OR operation is
performed between register X and the value j in the immediate field, and stores the result in register X.
Adds 1 to the contents of register Y. As a result of addition, when the contents of register Y is 0, the
next instruction is skipped.
–
–
–
–
–
–
–
Continuous
description
(Y) = 0
(Y) = 15
–
–
(Y) = 15
(Y) = 0
R
–
–
–
–
–
–
–
–
–
–
–
–
–
–
0 1
E
0 0
E
0 1
F
0 0
C
0 1
A
0 2
A
0 2
9
0 C
y
+x
0 1
3
0 1 7
0 6
4
+j
0 6
j
0 6
C
+j
0 6
8
+j
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
R
0
0
0
0
1
1
1
1
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
0
1
0
0
0
0
1
0
1
0
1
0
0
0
0
1
0
1
0
0
1
0
1
1
x
1
x
0
y
3
y
2
y
1
y
0
0
0
0
0
1
0
0
1
1
0
0
0
0
1
0
1
1
1
0
0
1
1
0
0
1
j
1
j
0
0
0
1
1
0
0
0
j
1
j
0
0
0
1
1
0
1
1
j
1
j
0
0
0
1
1
0
1
0
j
1
j
0
MACHINE INSTRUCTIONS
R