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
delayproc nearpush cxpush bxmov cx,1000d1:mov bx,1000d2:dec bxjnz d2loop d1pop bxpop cxretdelayendp若要让延时时间变为原来的2倍,则可将代码mov bx,1000 修改为mov bx,