Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/18/02 06:52
Read: times


 
#29290 - RE: Simple bit inverting question
Hi Daniel,

you are wrong !

"MOV C, P1.7" was not a read-modify-write instruction !

So the straightforward code works right:

MOV C, P1.7
CPL C
MOV P2.0, C
And there is no need for complicated conditional jump constructs.

Please read the data sheet, which instructions are read-modify-write instructions.



Peter


List of 7 messages in thread
TopicAuthorDate
Simple bit inverting question            01/01/70 00:00      
RE: Simple bit inverting question            01/01/70 00:00      
RE: Simple bit inverting question            01/01/70 00:00      
RE: Simple bit inverting question            01/01/70 00:00      
RE: Simple bit inverting question            01/01/70 00:00      
RE: Simple bit inverting question            01/01/70 00:00      
RE: Simple bit inverting question :Peter            01/01/70 00:00      

Back to Subject List