rars icon indicating copy to clipboard operation
rars copied to clipboard

Global pointer value

Open miguelbarao opened this issue 1 year ago • 0 comments

Not sure about this, but shouldn't the global pointer be initialized to 0x10000800 instead of 0x10008000? The reason is that it would allow access to addresses from 0x10000000 to 0x10000fff using a single load/store instruction with a 12 bit immediate. The current value used in RARS seems to make more sense for MIPS where the immediate is 16 bits.

miguelbarao avatar Jun 09 '23 11:06 miguelbarao