Home > other >  Could you tell me the 4 words to Chinese characters display 16 x16 program how to display seven word
Could you tell me the 4 words to Chinese characters display 16 x16 program how to display seven word

Time:09-19

ORG 00 h
START: MOV. A, # 00 h
MOV P0, A; Remove the picture
ANL P2, # 00
MOV R2, # 200
D1: MOV R3, # 128; 0.1 seconds delay
DJNZ R3, $
DJNZ R2, D1
MOV h, 20 # 00 h; International access code pointer initial
L1: MOV R1, # 1 fh; Every word retention time
L2: MOV R6, # 32; Every word of 32 yards
MOV R4, # 00 h; Scanning initial
MOV R0, 20 h; International access code pointer in R0
L3: MOV A, R4. Scan A pointer in A
MOV P1, A; Scanning output
INC R4. Scan the next
A, MOV R0; International access code pointer in A
MOV DPTR, # TABLE; Data pointer refers to the TABLE
MOVC A, @ A + DPTR; To the TABLE to remove half data code
MOV P0, A; The output data code
INC R0; To remove a code
A, MOV R0;
MOV DPTR, # TABLE
MOVC A, @ A + DPTR
MOV P2, A; The output data
INC R0
MOV R3, # 02; Delay 1 ms s
D2: MOV R5, # 128
DJNZ R5, $
DJNZ R3, D2
MOV A, # 00 h; Clear the screen.
MOV P0, A;
ANL P2, # 00 h
DJNZ R6, L3; Display a word?
DJNZ R1, L2; Time to stay?
20 h, MOV R0; International access code address pointer value in 20 h
CJNE R0, # 00 fh, L1; 8 words take out?
; JMP L1. 8 words take out?
JMP START
TABLE:
The DB 040 h, 000 h, 040 h, 000 h, 042 h, 000 h, 0 the CCH, 7 fh, 000 h, 020 h, 040 h, 010 h, 040 h, 000 h, 040 h, 000 h;
FFH DB 040 h, 000 h, 0, 0 FFH, 040 h, 000 h, 040 h, 000 h, 040 h, 000 h, 040 h, 000 h, 040 h, 000 h, 000 h, 000 h;" Meter, 0
"

CodePudding user response:

The table that defines a word only font!
  • Related