⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 define.asm

📁 实施上述事实上述事实上实施上述事实上述事实上上述事实上
💻 ASM
字号:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;------------------define.asm--------------------------------------
;------------------defult value is fro 320*240 lcd-----------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-------Direct access type address define--------------------------
;-------User can modified bases your platform----------------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CWADD1  EQU	8100H	;Write instruction code address
DWADD1	EQU	8000H	;Write parameter and display data address
DRADD1	EQU	8100H	;Read parameter and display data address
CRADD1	EQU	8000H	;Read BUSY status address

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-------Indirect access type address define------------------------
;-------User can modified bases your platform----------------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
RS	EQU	P3.0    ;RS
RD	EQU	P3.1    ;/RD
WR	EQU	P3.2    ;/WR
DATBUS	EQU	P1	;data bus

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-------Program parameter define-----------------------------------
;-------User can modified bases your platform----------------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;PARA1   EQU    20H      ;DMF682(256*128)
;------------------------------------------------------------------
PARA1	EQU     30H      ;DMF50081/50174 EG8503(320*240)
;------------------------------------------------------------------
;PARA1	EQU     50H      ;DMF50036(640*200)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;-------program variable define------------------------------------
;-------User can modified bases your platform----------------------
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
COM	EQU	30H	;Instruction register
DAT1	EQU	31H	;Parameter and display data regiter
COUNT1	EQU 	32H     ;Count1
COUNT2	EQU	33H     ;Count2
O_XL	EQU	34H	;X coordinate low byter register(byte)
			;X coordinate low 8bits register(dot/row)
O_XH	EQU	35H	;X coordinate high 8bits register(dot/row)
			;D7 bit for draw dot(D7=1)or clear dot(D7=0)flag
O_YL	EQU	36H	;Y coordinate register(dot/column)
CODE	EQU	37H	;Chinese characters code
CFLUG   EQU     10H     ;Bit flag figure characters write type
                        ; CFLUG=1 for first wirte;CFLUG=0 for continous write

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -