Hello All,
I've looked at the docs and some example code - but would like to ask about how do directly modify the SP with preferably a MOV instruction in assembly -
i.e. -
XAR7 contains pointer
- I want to take the contents of XAR7 and MOV that directly to the SP -
The c28x family doesn't seem to have any LDI SP, Rx instructions - correct?
Does the c28x family have an SP alias that maybe I am missing - like R1 or something?
Here's an example to make my request clearer, just in case:
MOVW XAR7, @_pointer_thing ; load XAR7 with a pointer
MOVW SP, *XAR7 ; load SP with contents of XAR7
maybe something like this would work:
MOV AR1,*XAR
MOV SP,AR1
Thanks,
johnw