| ??? 10/24/06 23:58 Read: times  | 
#126962 - SFRs forever... Responding to: ???'s previous message  | 
Maarten Brock said: 
...to have indirect and indexed access. Stuff like:
 movx a, @dptr+0xNN movx @dptr+0xNN, a mov a, @ri+0xNN mov @ri+0xNN, a Something similar can be made via a SFR (OK, not the most straighforward approach) mov OFFSET_SFR,#NN movx @dptr,a ;implicitly added OFFSET If the reset default value of OFFSET_SFR would be zero, it's fuly backward compatible. Of course it can be extended also to 16-bit offset. Maarten Brock said: 
lcall dptr ljmp dptr There is a jmp @a+dptr which is essentially ljmp dptr; lcall dptr is constructed simply by calling a jmp @a+dptr... OK these all are multi-instruction constructions but you can't expect >256 single-byte single-cycle instructions from an 8-bitter... :-))) Jan Waclawek  | 



