read state of P3.2

"Koen Swinters" <[email protected]> Fri, 21 May 2004 16:09:49 +0200
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <001001c43f3d$47601290$0202a8c0@mobiel>
Hi All,

I'm trying to read the state of P3.2 in a native methode with the following
code:

mov R4,0B0H
mov A,#04H
anl A,R4 ;
When I check what is in A I get always 04H (the pin is high accorcing to
this, but the pin is tied to ground).
does someon know how I can read the status of a pin on the ds80C400 in a
native method?

regards
Koen


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini