1302和计算器 org 0000h
这是一小部分代码请参考
org0000h
jmpstart
;Startoftheprogram
org0100h
start: movA,#030h ;1line,8bits
callwrcmd
movA,#LCD_SETVISIBLE+4
callwrcmd
movA,#LCD_SETDDADDR+15 ;Startatrighthandsideofthedisplay
callwrcmd
movA,#LCD_SETMODE+3 ;AutomaticIncrement-Dis
下载地址
用户评论