This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dual DPTR push in ISR - why?

I'm looking to optimize an ISR written in C and wondered why version 6.21 pushes both DPTR when it doesn't use them both?

Parents
  • Yes I've seen that. I don't happen to use any of those functions and it's a shame they don't use the dual DPTR for other items. I'm positive my ISR doesn't use dual DPTRs. I've looked at the generated assembly from my C source and I think it's odd they push a register pair they don't use.

Reply
  • Yes I've seen that. I don't happen to use any of those functions and it's a shame they don't use the dual DPTR for other items. I'm positive my ISR doesn't use dual DPTRs. I've looked at the generated assembly from my C source and I think it's odd they push a register pair they don't use.

Children