English
Language : 

GDM240128A Datasheet, PDF (18/29 Pages) List of Unclassifed Manufacturers – LCD MODULE
User’s Manual
MOV A, R4
SJMP WR5
WR4: MOV R0, #00H
; entrance of writing data
WR5: MOVX @ R0, A
RET
This program is generally used. When entering data and single parameter
commands, the data and commands should be sent into R3. The entrance of
subprogram is WR4 and WR1 respectively. The entrance of no parameter
command is WR2.
(3) subprogram of data writing
register to be used: R0, A; output register: A store data
RD: LCALL BF1
MOV R0, #00H
MOVX A, @ R0
RET
5-8.Example of Application Program
The precondition is FS=0, that is, choose the 8X8dots.
5-8-1. Subprogram of clearing DDRAM
CLR: MOV R2, #00H
MOV R3, #00H
MOV R4, #24H
LCALL WR
MOV R4, #0B0H
LCALL WR2
MOV R2, #1FH
CLR1: MOV R3, #0FFH
CLR2: LCALL BF3
CLR A
LCALL WR4
DJNZ R3, CLR2
DJNZ R2, CLR1
MOV R4, #0B3H
LCALL WR2
RET
; RAM address=0000H
; set address pointer
; set data auto write
; auto write 8K byte
; check status STA3
; write 00H
; auto reset
5-8-2.
Subprogram of Initialization
INI: LCALL CLR
MOV R2, #00H
- 17 -
; set text area