Microcontroller › 8051 › Assemble langauge programming › im typing program for
June 17, 2011 at 5:52 pm
#6356
SaLMAN Ahmed Khan
Participant
im typing program for interfacing Sensor but u have also have to use ADC808/804
RD BIT P1.5
WR BIT P1.6
INTR BIT P1.7
MY DATA EQU P2 ; ADC 0808
MOV P2,#0FFH
SET B INTR
BACK:CLR WR
SETB WR
HERE: JB INTR,HERE
CLR RD