xon.asm

来自「web51的开发库」· 汇编 代码 · 共 44 行

ASM
44
字号
	.equ	WMCON, 0x96.nolist.include	"../include/param.inc".include	"../include/cpu.inc".list.global	tstxonxoff0, tstxonxoff;CPU_DIR	SEGMENT	CODE;	RSEG	CPU_DIR	.section cpu_dir, #alloc;	.word	'x'+'o'+'n'+'.'+'c'+'g'+'i'	.byte	0x10		;cgi	.byte	0		;reserved	.word	cgibegin	.word	cgiend;;CPU_FILES	SEGMENT	CODE;	RSEG	CPU_FILES	.section cpu_files, #alloc;cgibegin:		;xon.cgi	.pcode tstxonxoff0	.pcode pretcgiend:;	.text	.using	0;tstxonxoff0:	mov	r6,#0	mov	r7,state80tstxonxoff:	mov	dph,R6	mov	dpl,R7	ENABLE_EE	movx	a,@dptr	DISABLE_EE	mov	C,B2B(ACC,optxonxoff)	mov	zflag,C	ret	;; END

⌨️ 快捷键说明

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