??? 07/01/04 18:56 Read: times |
#73486 - RE: 4th solution :) Responding to: ???'s previous message |
There is a byte XOR:
XRL A,Rn XRL A,direct XRL A,@Ri XRL A,#data XRL direct,A XRL direct,#data There's nothing like: XRL C,bit JNE C,bit,addr16 XRL bit,bit or anything alike though. The solution is either to execute things like RLC A ANL A,#1 XCH A,direct ANL A,#1 XRL A,direct or to perform it as (~a AND b) OR (a AND ~b) JB bit1,L2 JB bit2,TRUE JMP FALSE L2: JB bit2,FALSE TRUE: |