MAIN:
;------------------
LOOP:
ACALL SHOW1
ACALL DELAY
ACALL SHOW6
SJMP LOOP
SHOW1:
MOV P0, #06H
SETB P2.6
CLR P2.6
MOV P0, #0FEH
SETB P2.7
CLR P2.7
RET
SHOW6:
MOV P0, #7DH
MOV P0, #0FDH
DELAY:
DEL1:
NOP
DJNZ R7, DEL1
END
MAIN:
;------------------
LOOP:
ACALL SHOW1
ACALL DELAY
ACALL SHOW6
ACALL DELAY
SJMP LOOP
;------------------
SHOW1:
MOV P0, #06H
SETB P2.6
CLR P2.6
MOV P0, #0FEH
SETB P2.7
CLR P2.7
RET
;------------------
SHOW6:
MOV P0, #7DH
SETB P2.6
CLR P2.6
MOV P0, #0FDH
SETB P2.7
CLR P2.7
RET
;------------------
DELAY:
DEL1:
NOP
NOP
DJNZ R7, DEL1
RET
;------------------
END