MITSUBISHI MICROCOMPUTERS
4280 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
MACHINE INSTRUCTIONS (CONTINUED)
Parameter
Instruction code
Mnemonic
Hexadecimal
Type of
instructions
D8 D7 D6 D5 D4 D3 D2 D1 D0 notation
BM a
1 0 a6 a5 a4 a3 a2 a1 a0 1 a a 1
Function
1 (SK(SP)) ← (PC)
(SP) ← (SP) + 1
(PCH) ← 2
(PCL) ← a6–a0
BML p, a 0 0 1 1 1 p3 p2 p1 p0
1 0 a6 a5 a4 a3 a2 a1 a0
07 p 2
1aa
2 (SK(SP)) ← (PC)
(SP) ← (SP) + 1
(PCH) ← p
(PCL) ← a6–a0
(Note)
BMLA p, a 0 0 1 0 1 0 0 0 0
1 0 a6 a5 a4 p3 p2 p1 p0
05 0 2
1a p
2 (SK(SP)) ← (PC)
(SP) ← (SP) + 1
(PCH) ← p
(PCL) ← (a6–a4, A3–A0)
(Note)
RT
0 0 1 0 0 0 1 0 0 0 4 4 1 2 (PC) ← (SK(SP))
(SP) ← (SP) – 1
RTS
001000101
04 5 1
2 (PC) ← (SK(SP))
(SP) ← (SP) – 1
TAB1
001010111
0 5 7 1 1 (B) ← (T17–T14)
(A) ← (T13–T10)
T1AB
001000111
0 4 7 1 1 at timer 1 stop (V10=0)
(R17–R14) ← (B), (R13–R10) ← (A)
(T17–T14) ← (B), (T13–T10) ← (A)
at timer 1 operating (V10=1)
(R17–R14) ← (B), (R13–R10) ← (A)
TV1A
0 0 1 0 1 1 0 1 1 0 5 B 1 1 (V12–V10) ← (A2–A0)
SNZ1
001000010
0 4 2 1 1 (T1F) = 1 ?
After skipping the next instruction
(T1F) ← 0
TAC
0 0 1 0 0 0 0 0 0 0 4 0 1 1 (A2–A0) ← (C2–C0)
TCA
0 0 1 0 1 1 0 1 0 0 5 A 1 1 (C2–C0) ← (A2–A0), (CARR) ← 0
OCRA 0 1 0 0 0 0 1 1 0 0 8 6 1 1 (CARR) ← (A3)
Note : p is 0 to 7 for M34280E1, and p is 0 to 7 for M34280M1.
MITSUBISHI
32
ELECTRIC
MITSUBISHI MICROCOMPUTERS
4280 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
Skip condition
Detailed description
–
– Call the subroutine in page 2 : Calls the subroutine at address a in page 2.
–
– Call the subroutine : Calls the subroutine at address a in page p.
–
– Call the subroutine : Calls the subroutine at address (a6 a5 a4 A3 A2 A1 A0) determined by replacing the
low-order 4 bits of address a in page p with register A.
–
– Returns from subroutine to the routine called the subroutine.
Skip at uncondition – Returns from subroutine to the routine called the subroutine, and skips the next instruction at uncondition.
–
– Transfers the contents of timer 1 to registers A and B.
–
– Transfers the contents of registers A and B to timer 1.
–
(T1F) = 1
– Transfers the contents of register A to registers V1.
– Skips the next instruction when the contents of T1F flag is “1.”
After skipping, clears (0) to T1F flag.
–
– Transfers the contents of register A to register C.
–
– Transfers the contents of register C to register A. In this case, port CARR output latch is cleared to “0.”
–
– Transfers the contents of bit 3 (A3) of register A to port CARR output latch.
MITSUBISHI
ELECTRIC
33