??? 10/25/06 20:24 Read: times |
#126987 - SFRs rule! Responding to: ???'s previous message |
Jan,
Excellent solution. I'm waiting for the silicon vendors to implement this OFFSET_SFR. And how could I have missed jmp @a+dptr. Somehow the instruction put a jumptable in my mind using an extra indirection. I expected it to read 2 bytes at a+dptr in code memory and jump to the address represented by those 2 bytes. Instead it jumps to the address a+dptr. One learns something everyday. |