
13 Aug
2010
13 Aug
'10
4:52 a.m.
On Thu, Aug 12, 2010 at 10:40 PM, Thomas Chou wrote:
The "Nios II Processor Reference Handbook" said, "call can transfer execution anywhere within the 256 MByte range determined by PC31..28. The Nios II GNU linker does not automatically handle cases in which the address is out of this range."
So we have to use registered "callr" instruction to do the job.
doesnt NIOS have an insn to call indirectly via a register ? typically that's how function pointers should be handled when gcc generates code. -mike