testp3.asm

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

ASM
29
字号
	.global	testP3	.section cpu_dir, #alloc	.word	't'+'e'+'s'+'t'+'P'+'3'+'.'+'c'+'g'+'i'	.byte	0x10		;cgi	.byte	0		;reserved	.word	cgibegin	.word	cgiend;	.section cpu_files, #alloccgibegin:		;testP3.cgi	.pcode	testP3	.pcode	pretcgiend:	.texttestP3:	mov	a,P3	clr	zflag		anl	a,state80	jnz	retP3	setb	zflagretP3:	ret	;; END

⌨️ 快捷键说明

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