MS EQU 30 h
CSDA EQU P3.2
W the EQU P3.6
WELA EQU P2.7
DULA EQU P2.6
ORG 00 h
START: the CLR WELA
The CLR DULA
MOV, MS # 0
The CLR CSDA
The CLR W
NEXT: INC MS
MOV A, MS
MOV P0, A
CPL A
LCALL DELAY
SJMP NEXT
DELAY: MOV R6, # 20
D2: MOV R7, # 248
DJNZ R7, $
DJNZ R6, D2
RET
END

CodePudding user response:
OP1177 connection is wrong,CodePudding user response:
Why the OUT1 output received the OP 2?????? !!!!!!!!!!!!!!!!!!So no output!