; INITIALIZE A COUNTER REGISTER
MOV R0,#08h ;
LOOP: MOV C,P2.7 ; BRING IN BIT
RRC A ;
DJNZ R0,LOOP ; LOOP TILL ALL 8 BITS ARE IN
END
; END OF PROGRAM
MOV R0,#08h ;
LOOP: MOV C,P2.7 ; BRING IN BIT
RRC A ;
DJNZ R0,LOOP ; LOOP TILL ALL 8 BITS ARE IN
END
; END OF PROGRAM
No comments:
Post a Comment