??? 07/31/05 17:49 Read: times |
#98526 - 165 access problem Responding to: ???'s previous message |
Is there any background ISR that may change the Carry flag or even the acc????
Any hardware problem? Any timming problem? Anyway to improve the reliability, I suggest the following changes: clr port0.1 ;clock clr port0.1 clr port0.1 setb port0.1; shift the data setb port0.1; allow more time for the 165 setb port0.1 setb port0.0 ; set port to input mov c,port0.0 ;read d6 rlc a Happy ASM'ing 73,Li. |