NOT AL ;按下开关灯亮 MOV DX, PORTB
OUT DX, AL ;送PB口显示 MOV CX, 1000 ;延时 L1: DEC CX JNZ L1 JMP L0 CODE ENDS
END START
41