On 2/16/2015 5:51 PM, Chen Gang S wrote:
And excuse me, I still want to know, is there a real world register as a PC register for tile (e.g. just like 'rip' for x86_64) which can be used by software programer? (is it in SPR?)
There is no register you can read that holds the current PC. You can issue a "lnk REG" instruction to load the address of the following register into register REG. And if you have interrupted the machine execution with an interrupt or fault, you will find the interrupted address in an SPR. But the current PC is not otherwise accessible. -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com