MITSUBISHI MICROCOMPUTERS
MITSUBISHI MICROCOMPUTERS
4280 Group
4280 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
MACHINE INSTRUCTIONS (CONTINUED)
Instruction code
Parameter
Skip condition
Detailed description
Mnemonic
BM a
Function
Hexadecimal
notation
Type of
instructions
D8 D7 D6 D5 D4 D3 D2 D1 D0
1
0
a6 a5 a4 a3 a2 a1 a0
1
a
a
1
2
1
2
(SK(SP)) ← (PC)
(SP) ← (SP) + 1
(PCH) ← 2
–
–
–
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.
(PCL) ← a6–a0
BML p, a
0
1
0
0
1
1
1
p3 p2 p1 p0
0 7
p
(SK(SP)) ← (PC)
(SP) ← (SP) + 1
(PCH) ← p
–
–
a6 a5 a4 a3 a2 a1 a0
1 a a
(PCL) ← a6–a0
(Note)
BMLA p, a 0
1
0
0
1
0
1
0
0
0
0
0 5
1 a
0
2
2
(SK(SP)) ← (PC)
(SP) ← (SP) + 1
(PCH) ← 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.
a6 a5 a4 p3 p2 p1 p0
p
(PCL) ← (a6–a4, A3–A0)
(Note)
RT
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
1
1
0
0
1
1
0
1
1
1
0 4
0 4
4
5
1
1
1
1
2
2
1
1
(PC) ← (SK(SP))
(SP) ← (SP) – 1
–
–
–
–
–
Returns from subroutine to the routine called the subroutine.
RTS
TAB1
T1AB
(PC) ← (SK(SP))
(SP) ← (SP) – 1
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.
0 5 7
0 4 7
(B) ← (T17–T14)
(A) ← (T13–T10)
–
–
at timer 1 stop (V10=0)
Transfers the contents of registers A and B to timer 1.
(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
SNZ1
0
0
0
0
1
1
0
0
1
0
1
0
0
0
1
1
1
0
0 5 B
0 4 2
1
1
1
1
(V12–V10) ← (A2–A0)
–
–
–
Transfers the contents of register A to registers V1.
(T1F) = 1 ?
(T1F) = 1
Skips the next instruction when the contents of T1F flag is “1.”
After skipping, clears (0) to T1F flag.
After skipping the next instruction
(T1F) ← 0
TAC
0
0
0
0
0
1
1
1
0
0
0
0
0
1
0
0
1
0
0
0
1
0
1
1
0
0
0
0 4 0
0 5 A
0 8 6
1
1
1
1
1
1
(A2–A0) ← (C2–C0)
–
–
–
–
–
–
Transfers the contents of register A to register C.
TCA
(C2–C0) ← (A2–A0), (CARR) ← 0
(CARR) ← (A3)
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.
OCRA
Note : p is 0 to 7 for M34280E1, and p is 0 to 7 for M34280M1.
MITSUBISHI
ELECTRIC
MITSUBISHI
ELECTRIC
32
33