Oct 25, 2011 #1 Y yasir23 Member level 1 Joined Mar 2, 2011 Messages 33 Helped 2 Reputation 4 Reaction score 1 Trophy points 1,288 Activity points 1,548 my 89s51 giving high in all the port except p0. why ? i m using a very simple coding org 0000h setb p2.0 setb p2.1 h1: mov c,p2.0 mov p1.0,c mov c,p2.1 mov p1.1,c sjmp h1 end it should low if p2.0 low so p1.0 should also low. but its give high all the time https://obrazki.elektroda.pl/40_1319535474.jpg
my 89s51 giving high in all the port except p0. why ? i m using a very simple coding org 0000h setb p2.0 setb p2.1 h1: mov c,p2.0 mov p1.0,c mov c,p2.1 mov p1.1,c sjmp h1 end it should low if p2.0 low so p1.0 should also low. but its give high all the time https://obrazki.elektroda.pl/40_1319535474.jpg