testp1.asm

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

ASM
29
字号
	.global	testP1	.section cpu_dir, #alloc	.word	't'+'e'+'s'+'t'+'P'+'1'+'.'+'c'+'g'+'i'	.byte	0x10		;cgi	.byte	0		;reserved	.word	cgibegin	.word	cgiend;	.section cpu_files, #alloccgibegin:		;testP1.cgi	.pcode	testP1	.pcode	pretcgiend:	.texttestP1:	mov	a,P1	clr	zflag		anl	a,state80	jnz	retP1	setb	zflagretP1:	ret	;; END

⌨️ 快捷键说明

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