PC7接正脉冲,要怎么检测呢?
A. L:MOV DX,282HIN AL,DXTEST AL,80hJNZ L
B. L:MOV DX,282HIN AL,DXTEST AL,80hJZ L
CALL DELAY中关于DELAY子程序要保护现场和恢复现场。保护用(大写),恢复现场用POP.delayproc nearpush cxpush bxmov cx,1000d1:mov bx,1000d2:dec bxjnz d2loop d1pop bxpop cxretdelayendp
PC0接负脉冲,代码如何实现?代码均用大写L:MOV DX,282HAL,DXTEST AL,01HJNZ L