| ??? 03/01/08 14:01 Read: times |
#151731 - XOR Responding to: ???'s previous message |
I find the xor instruction very elligant for branching to equal or not equal.never programmed in 8052 assembly but here is a code in PIC assembly:<pre>
movlw 3 xorwf TMR0, w ; was it 1 mSec pulse BTFSC STATUS, Z BSF keyReg, 4 ; yes then set bit4 |
| Topic | Author | Date |
| CJNE Question | 01/01/70 00:00 | |
| CJNE method | 01/01/70 00:00 | |
| CJNE method | 01/01/70 00:00 | |
| Try this | 01/01/70 00:00 | |
| Program counter | 01/01/70 00:00 | |
| CJNE Alternatives | 01/01/70 00:00 | |
| XOR | 01/01/70 00:00 | |
example | 01/01/70 00:00 |



