
Instruction Table
* NOTE : When you make an MPU program with checking the Busy Flag (DB7), it must be necessary 1/2Fosc
for executing the next instruction by falling E signal after the Busy Flag (DB7) goes to “0”.
Instruction
Instruction Code
Description
Execution
Time
(fosc =
270 kHz)
RS R/WDB7DB6DB5DB4DB3DB2DB1DB0
Clear
Display
00
000
01
Write “20H” to DDRAM and set
DDRAM address to “00H” from AC.
1.53 ms
Return
Home
0
000
1×
Set DDRAM address to “00H” from AC
and return cursor to its original position
if shifted.
1.53 ms
Entry Mode
Set
00
000
001
I/D SH
Assign cursor moving direction and
enable the shift of entire display .
39
s
Display ON/
OFF Control
00
000
01
D
C
B
Set display (D), cursor (C), and blinking
of cursor (B) on/off control bit.
39
s
Cursor or
Display Shift
0
1 S/C R/L
×
Set cursor moving and display shift
control bit, and the direction, without
changing of DDRAM data.
39
s
Function
Set
00
001
DL
N
F
××
Set interface data length (DL : 4-bit/8-
bit), numbers of display line (N : 1-line/
2-line, Display font type (F:0 ...)
39
s
Set CGRAM
Address
0
1 AC5AC4AC3AC2AC1AC0
Set CGRAM address in address
counter.
39
s
Set DDRAM
Address
0
1 AC6AC5AC4AC3AC2AC1AC0
Set DDRAM address in address
counter.
39
s
Read Busy
flag and
Address
0
1
BF AC6AC5AC4AC3AC2AC1AC0
Whether during internal operation or
not can be known by reading BF.
The contents of address counter can
also be read.
0
s
Write Data
to RAM
1
0
D7 D6 D5 D4 D3 D2 D1 D0
Write data into internal RAM
(DDRAM/CGRAM).
43
s
Read Data
from RAM
1
D7 D6 D5 D4 D3 D2 D1 D0
Read data from internal RAM
(DDRAM/CGRAM).
43
s
*&=/