死人了,我已经把交通灯的计时都去掉了怎么还不行啊?
.MODEL SMALL.8086
.STACK
.CODE
.STARTUP
START: MOV AX,ALL_LIGHT
MOV DX,0200H
MOV DX,AX
AGAIN:
MOV SI,OFFSET SITUATION
MOV DX,0200H
NEXT: MOV AX,[SI]
OUT DX,AX
CALL DELAY1
ADD SI,2
MOV AX,[SI]
OUT DX,AX
CALL DELAY2
ADD SI,2
CMP SI, OFFSET SIT_END
JB NEXT
JMP AGAIN
DELAY1 PROC NEAR
MOV BX,10000
LP1: MOV CX,469
LP2: LOOP LP2
DEC BX
JNZ LP1
RET
DELAY1 ENDP
DELAY2 PROC NEAR
MOV BX,500
LP21: MOV CX,469
LP22:LOOP LP22
DEC BX
JNZ LP21
RET
DELAY2 ENDP
.DATA
SITUATION DW 0000011110011110B
S1 DW 0000101110101110B
S2 DW 0000110011110011B
S3 DW 0000110101110101B
SIT_END=$
ALL_LIGHT EQU 0000001001001001B
END
各位兄弟姐妹叔伯姨娘求救啊
谁知道哪里错了啊!那个灯就是不动啊 一直是红绿灯啊定在那里了