| ??? 09/16/02 04:50 Read: times |
#29200 - Simple bit inverting question |
I've got a very simple question for some of you. Looking over the instruction set list, I cannot determine the proper one to use.
My program simply reads the input from one pin, and outputs the value on another pin : MOV P2, #000 Wait_For_Low_Loop: MOV C, P1.7 MOV P2.0, C jmp Wait_For_Low_Loop End Now, my question is : What would I place between the two MOV statements to invert C? (The input is actively low, and I want the output to display that as actively high on an LED) |
| Topic | Author | Date |
| 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 |



