
Continued from preceding page.
No. 5487-26/27
LC66P2316
Instruction code
Affected
status
bits
Mnemonic
Operation
Description
Note
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
[Timer control instructions]
TIMER0
←
[M2 (HL)],
(AC)
Write the contents of M2 (HL),
AC into the timer 0 reload
register.
WTTM0
Write timer 0
1 1 0 0
1 0 1 0
1
2
1 1 0 0
1 1 1 1
1 1 1 1
0 1 0 0
Write the contents of E, AC
into the timer 1 reload
register A.
WTTM1
Write timer 1
2
2
TIMER1
←
(E), (AC)
M2 (HL),
AC
←
(TIMER0)
Read out the contents of the
timer 0 counter into M2 (HL),
AC.
RTIM0
Read timer 0
1 1 0 0
1 0 1 1
1
2
RTIM1
Read timer 1
1 1 0 0
1 1 1 1
1 1 1 1
0 1 0 1
2
2
E, AC
←
(TIMER1)
Read out the contents of the
timer 1 counter into E, AC.
START0 Start timer 0
1 1 0 0
1 1 1 0
1 1 1 1
0 1 1 0
2
2
Start timer 0 counter
Start the timer 0 counter.
START1 Start timer 1
1 1 0 0
1 1 1 0
1 1 1 1
0 1 1 1
2
2
Start timer 1 counter
Start the timer 1 counter.
STOP0
Stop timer 0
1 1 0 0
1 1 1 1
1 1 1 1
0 1 1 0
2
2
Stop timer 0 counter
Stop the timer 0 counter.
STOP1
Stop timer 1
1 1 0 0
1 1 1 1
1 1 1 1
0 1 1 1
2
2
Stop timer 1 counter
Stop the timer 1 counter.
[Interrupt control instructions]
MSET
Set interrupt master
enable flag
1 1 0 0
0 1 0 1
1 1 0 1
0 0 0 0
2
2
MSE
←
1
Set the interrupt master
enable flag to one.
MRESETmaster enable flag
1 1 0 0
1 0 0 1
1 1 0 1
0 0 0 0
2
2
MSE
←
0
Clear the interrupt master
enable flag to zero.
EIH i4
Enable interrupt high
1 1 0 0
0 1 0 1
1 1 0 1
I
3
I
2
I
1
I
0
1 1 0 1
I
3
I
2
I
1
I
0
1 1 0 1
I
3
I
2
I
1
I
0
1 1 0 1
I
3
I
2
I
1
I
0
1 1 1 1
1 0 1 0
2
2
EDIH
←
(EDIH) i4
Set the interrupt enable flag
to one.
EIL i4
Enable interrupt low
1 1 0 0
0 1 0 0
2
2
EDIL
←
(EDIL) i4
Set the interrupt enable flag
to one.
DIH i4
Disable interrupt high
1 1 0 0
1 0 0 1
2
2
EDIH
←
(EDIH) i4
Clear the interrupt enable
flag to zero.
ZF
DIL i4
Disable interrupt low
1 1 0 0
1 0 0 0
2
2
EDIL
←
(EDIL) i4
Clear the interrupt enable
flag to zero.
ZF
WTSP
Write SP
1 1 0 0
1 1 0 1
2
2
SP
←
(E), (AC)
Transfer the contents of E,
AC to SP.
RSP
Read SP
1 1 0 0
1 1 0 1
1 1 1 1
1 0 1 1
2
2
E, AC
←
(SP)
Transfer the contents of SP
to E, AC.
[Standby control instructions]
HALT
HALT
1 1 0 0
1 1 0 1
1 1 1 1
1 1 1 0
2
2
HALT
Enter halt mode.
HOLD
HOLD
1 1 0 0
1 1 0 1
1 1 1 1
1 1 1 1
2
2
HOLD
Enter hold mode.
[Serial I/O control instructions]
STARTS Start serial I O
1 1 0 0
1 1 1 0
1 1 1 1
1 1 1 0
2
2
START SI O
Start SIO operation.
WTSIO
Write serial I O
1 1 0 0
1 1 1 0
1 1 1 1
1 1 1 1
2
2
SIO
←
(E), (AC)
Write the contents of E,
AC to SIO.
RSIO
Read serial I O
1 1 0 0
1 1 1 1
1 1 1 1
1 1 1 1
2
2
E, AC
←
(SIO)
Read out the contents of SIO
into E, AC.
[Other instructions]
Consume one machine cycle
without performing any
operation.
NOP
No operation
0 0 0 0
0 0 0 0
1
1
No operation
SB i2
Select bank
1 1 0 0
1 1 0 0
1 1 1 1
0 0 I
1
I
0
2
2
PC13, PC12
←
I
1
I
0
Specify the memory bank.
N
b
N
c