Semiconductor
MSM6262-xx
34/52
I/D (Increment/Decrement)
When this instruction is executed, DD RAM address will be incremented (I/D = "H") or
decremented (I/D = "L") by 1, after the character code or underline code is written into (or
read out from) the DD RAM.
In the case of increment, cursor moves to the right, while the cursor moves to the left in the
case of decrement.
Processing for writing/reading the data into/from CG RAM is performed the same way.
S (Display shift upon writing)
When S = "H" and data is written into DD RAM, display is shifted either to the right or
left. When I/D = "H", the whole display shifts to the left, while it shifts to the right when
I/D = "L". So, display of cursor looks being stopped and display itself looks being shifted.
In the case of reading the data from DD RAM, display is not shifted. Also in the case of
reading/writing the data from/to CG RAM, display shall not be shifted.
When S = "L", display is not be shifted.
A/O (CG RAM ENABLE/CG ROM ENABLE)
When A/O is "L", CG ROM will be enabled, and all CG ROM contets on Table 2 becomes
selectable and CG RAM cannot be selected.
CG RAM cannot be used as character code for display. But it can be used as data RAM.
When A/O = "H", CG RAM is enabled.
When the upper 4 bits of the character code in Table 1 are "00" (hex.), the bit pattern of CG
RAM is displayed on the LCD. (CG RAM has a RAM area for 4 kinds of 5 x 8 dots and 2
kinds of 5 x 12 dots)
CG ROM is selected when the upper 4 bits of the character code in Table 1 are "01" - "0F"
(hex.).
Instruction
code
A1
A0
DB7
DB6
DB5
DB3
DB2
DB1
DB0
DB4
L
LL
LLL
H
UL
*
*: Don't care
Instruction
code
A1
A0
DB7
DB6
DB5
DB3
DB2
DB1
DB0
DB4
L
H
I/D
S
A/O
(3) Underline
UL = H (Write underline)
When this instruction is executed, the underline appears on the cursor position. Cursor
will move to the right or left if either increment or decrement is specified.
UL = L (Erase underline)
When this instruction is executed, the underline on the cursor position disappears. Cursor
will move to the right or left if either increment or decrement is specified.
When this instruction is executed, ADC will be automatically incremented by +1 or
decremented by –1. Display is shifted accordingly.
(4) Entry mode set