??? 03/30/04 02:52 Read: times |
#67606 - RE: Managing multiple DPTRs Responding to: ???'s previous message |
Alan Chen said:
What I have been doing so far is to use "INC DPSEL" and "DEC DPSEL" as a pair of instructions to select or de-select the working DPTR. However, this technique seems to be error prone... I can not imagine this particular technique being any more error prone than balancing stack PUSHs and POPs. ...and I am wondering if there is a better way to manage multiple DPTRs. I would think that the first order of business is to develop your DPTR usage policy to suit your performance (or whatever) requirements, even if it does not use all eight DPTRs, and in fact, even if it ends up using only one DPTR. Then develop the code to implement your policy. If you have trouble figuring out how to utilize multiple DPTRs to achieve your requirements, then show us your requirements. Or, if you've got a handle on utilizing multiple DPTRs to achieve your performance requirments, but need help managing or keeping track of them, then show us your utilization plan. After seeing either case, we (don't necessarily read 'I', as in 'me', as in 'Dan') should be able to help. |
Topic | Author | Date |
Managing multiple DPTRs | 01/01/70 00:00 | |
RE: Managing multiple DPTRs | 01/01/70 00:00 | |
RE: Managing multiple DPTRs | 01/01/70 00:00 | |
RE: Managing multiple DPTRs | 01/01/70 00:00 | |
RE: Managing multiple DPTRs | 01/01/70 00:00 | |
RE: Managing multiple DPTRs | 01/01/70 00:00 | |
RE: Managing multiple DPTRs![]() | 01/01/70 00:00 |