
	SETB	P0.1	; set pin as input one
	MOV	A,#0x80	; hold place of the result
LOOP:	MOV	C,P0.1	; read bit
	RRC	A	; keep bit
	JNC	LOOP	; do 8 itterations
; here Accumulator contains 8 bits read from P0.1
