| ??? 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 |
| 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 |



