testled.asm

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

ASM
28
字号
	.global	testLED	.section cpu_dir, #alloc	.word	't'+'e'+'s'+'t'+'L'+'E'+'D'+'.'+'c'+'g'+'i'	.byte	0x10		;cgi	.byte	0		;reserved	.word	cgibegin	.word	cgiend	.section cpu_files, #alloccgibegin:		;testLED.cgi	.pcode	testLED	.pcode	pretcgiend:;	.texttestLED:mov	a,LEDmode	clr	zflag		anl	a,state80	jnz	retL3	setb	zflagretL3:	ret	;; END

⌨️ 快捷键说明

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