English
Language : 

GDM240128A Datasheet, PDF (21/29 Pages) List of Unclassifed Manufacturers – LCD MODULE
User’s Manual
WRHZT: MOV R4, #0C0H
LCALL WR1
WRHZT1:
INC R3
INC R3
LCALL WR1
DEC R3
MOV R2, #1CH
MOV R4, #0C1H
LCALL WR2
DJNZ R2, WRHZT1
MOV R4, #0C0H
LCALL WR1
INC R3
INC R3
LCALL WR1
RET
; data write,address+1
; R3 set in the main program, for
example R3=80H
; R3=82H
; R3=81H
; data read, address+1
; move the address pointer to the
left bottom corner of the
Chinese character
; R3=83H
(2) Display of Chinese character in the graphic mode
This method is to build a Chinese character storage area in the ROM of
MPU system, the Chinese character matrix should be input byte by byte in
graphic mode.
Register to be used: A, R2, R3, R4
DPTR is a home address of one Chinese character matrix array and will be
assigned in the main program.
WRHZG: MOV R2, #10H
; number of cycles
MOV A, #00H
WRHZG1: PUSH ACC
; push code into stack
MOVC A, @A+DPTR
; read character matrix
MOV R3, A
MOV R4, #0C0H
LCALL WR1
POP ACC
; pop code from stack
PUSH ACC
; push code into stack
ADD A, #10H
; locate the pointer to the matrix of
the byte on the right
MOVC A, @A+DPTR
; read character matrix
MOV R3, A
LCALL WR1
- 20 -