??? 05/02/06 15:28 Read: times |
#115365 - offtopic but... Responding to: ???'s previous message |
Erik Malund said:
A blatant example of the assembly advantage: you have a block of <=256 bytes on XDATA that you want to process and move the result to another location in Xdata. Using whatever method you prefer, you locate that block within in a page of memory (same high byte of address for all). NO C compiler (because C refuses to be concerned with locations) will set P2 (or the high address SFR) ONCE and use movx @Ri A very nice idea - I would have never ever tried such even with assembly. Those are the little pieces of text one can really use to learn new things from! Thank you very much for this one. |