本帖最后由 itelectron 于 2014-3-5 10:41 编辑
MOV A,31H
XRL A,41H
JNZ LOOP //A=1跳转LOOP
MOV A,30H
XRL A,40H
LOOP: JZ LOOP2 //A=0跳转LOOP2
MOV 40,30H
MOV 41,31H
LOOP2: SETB P1_0
=========================================
MOV A,31H
XRL A,41H
JNZ LOOP //A=1跳转LOOP
MOV A,30H
XRL A,40H
JZ LOOP2 //A=0跳转LOOP2
LOOP: MOV 40,30H
MOV 41,31H
LOOP2: SETB P1_0
|