|
4280 Datasheet, PDF (27/48 Pages) Renesas Technology Corp – 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
MACHINE INSTRUCTIONS
Parameter
Instruction code
Mnemonic
Hexadecimal
Type of
instructions
D8 D7 D6 D5 D4 D3 D2 D1 D0 notation
TAB
0 0 0 0 1 1 1 1 0 01 E 1
1 (A) â (B)
Function
TBA
0 0 0 0 0 1 1 1 0 0 0 E 1 1 (B) â (A)
TAY
0 0 0 0 1 1 1 1 1 0 1 F 1 1 (A) â (Y)
TYA
0 0 0 0 0 1 1 0 0 0 0 C 1 1 (Y) â (A)
TEAB
0 0 0 0 1 1 0 1 0 0 1 A 1 1 (ER7âER4) â (B) (ER3âER0) â (A)
TABE
0 0 0 1 0 1 0 1 0 0 2 A 1 1 (B) â (ER7âER4) (A) â (ER3âER0)
TDA
0 0 0 1 0 1 0 0 1 0 2 9 1 1 (DR2âDR0) â (A2âA0)
LXY x, y 0 1 1 x1 x0 y3 y2 y1 y0 0 C y 1
+x
1 (X) â x, x = 0 to 3
(Y) â y, y = 0 to 15
INY
0 0 0 0 1 0 0 1 1 0 1 3 1 1 (Y) â (Y) + 1
DEY
0 0 0 0 1 0 1 1 1 0 1 7 1 1 (Y) â (Y) â 1
TAM j
XAM j
0 0 1 1 0 0 1 j1 j0
06 4 1
+j
1 (A) â (M(DP))
(X) â (X) EXOR(j)
j = 0 to 3
0 0 1 1 0 0 0 j1 j0 0 6 j 1 1 (A) ââ (M(DP))
(X) â (X) EXOR(j)
j = 0 to 3
XAMD j
0 0 1 1 0 1 1 j1 j0
06 C 1
+j
1 (A) ââ (M(DP))
(X) â (X) EXOR(j)
j = 0 to 3
(Y) â (Y) â 1
XAMI j
0 0 1 1 0 1 0 j1 j0
06 8 1
+j
1 (A) ââ (M(DP))
(X) â (X) EXOR(j)
j = 0 to 3
(Y) â (Y) + 1
26
MITSUBISHI MICROCOMPUTERS
4280 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
Skip condition
Detailed description
â
â
â
â
â
â
â
Continuous
description
(Y) = 0
(Y) = 15
â
â 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.
(Y) = 15
(Y) = 0
â 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.
27
|
▷ |