[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rep:Re: Re: [f-cpu] New suggestion about call convention



> "store [sp],r31" for example, if we call a sub-function with other
> stores, we will crash the saved value of r31. So my question is : what must
> I do to change the address register without discarding its pointer status ?
> (you know, Whygee, you told me if I do "add 8,sp,sp", sp would no longer be
> considered as a pointer).

You have madd/msub for this purpose (an imediate version could be usefull too).

Cedric
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/