新手上路
- 积分
- 23
- 金钱
- 23
- 注册时间
- 2019-10-26
- 在线时间
- 5 小时
|
PUBLIC _Lcd_WriteLargeHZK_C
_Lcd_WriteLargeHZK_C:
MOV A,R3
MOV DPL,A
MOV A,R2
MOV DPH,A
MOV R1,#16
Lcd_WriteLargeHZK_C1:
MOV R3,#2
Lcd_WriteLargeHZK_C2:
CLR A
MOVC A,@A+DPTR
MOV R0,#8
Lcd_WriteLargeHZK_C21:
RLC A
JC Lcd_WriteLargeHZK_C3
MOV P2,R4
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R5
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R4
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R5
CLR LCD_WR_BIT
SETB LCD_WR_BIT
SJMP Lcd_WriteLargeHZK_C4
Lcd_WriteLargeHZK_C3:
MOV P2,R6
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R7
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R6
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R7
CLR LCD_WR_BIT
SETB LCD_WR_BIT
Lcd_WriteLargeHZK_C4:
DJNZ R0,Lcd_WriteLargeHZK_C21
INC DPTR
CLR A
MOVC A,@A+DPTR
MOV R0,#8
Lcd_WriteLargeHZK_C5:
RLC A
JC Lcd_WriteLargeHZK_C6
MOV P2,R4
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R5
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R4
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R5
CLR LCD_WR_BIT
SETB LCD_WR_BIT
SJMP Lcd_WriteLargeHZK_C7
Lcd_WriteLargeHZK_C6:
MOV P2,R6
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R7
CLR LCD_WR_BIT
MOV P2,R6
CLR LCD_WR_BIT
SETB LCD_WR_BIT
MOV P2,R7
CLR LCD_WR_BIT
Lcd_WriteLargeHZK_C7:
DJNZ R0,Lcd_WriteLargeHZK_C5
SETB C
MOV A,DPL
SUBB A,#0
MOV DPL,A
MOV A,DPH
SUBB A,#0
MOV DPH,A
DJNZ R3,Lcd_WriteLargeHZK_C2
INC DPTR
INC DPTR
DJNZ R1,Lcd_WriteLargeHZK_C1
RET
|
-
|