On 01/07/2015 09:21 AM, Sergei Shtylyov wrote:
Hello. On 01/07/2015 02:28 PM, Jayachandran C wrote:
[...]
+ + /* thread 0 of each core. */ + li t0, CKSEG1ADDR(RESET_DATA_PHYS)Hm, does this get auto-expanded into several instructions?
Of course, it is a standard magic MIPS assembler macro that expands to the instructions necessary to load a 32-bit integer constant into the register. It is perfectly normal and acceptable code.
David Daney