Am 02.06.20 um 00:37 schrieb Basil Hussain:

> 
> P.S. I also notice that later on in my function, when it does the
> inverse assignment of "CAN_PSR = prev_page", SDCC *does* generate a MOV
> instruction: "mov 0x5427+0, _can_rx_isr_prev_page_65537_99+0". I can't
> fathom why in one case, and not the other...

Compiling with --fverbose-asm (and sometimes --no-peep --i-code-in-asm)
often can help with such questions.

Also, for people on the list, it could help to see what CAN_PSR is (the
generated code might depend on use of __at vs. casting an integer into
an address).

Philipp


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to