Closed socram8888 closed 3 years ago
First commit is a fix for #5. Using a "jal" there overwrites the $ra where the program's entry point was stored.
Second commit modifies the load routine to load backwards, which shaves one instruction (4 bytes) of precious storage.
Third commit fixes and improves the setGP logic, default to not setting it if it's zero in the header, meaning it's not used.
First commit is a fix for #5. Using a "jal" there overwrites the $ra where the program's entry point was stored.
Second commit modifies the load routine to load backwards, which shaves one instruction (4 bytes) of precious storage.
Third commit fixes and improves the setGP logic, default to not setting it if it's zero in the header, meaning it's not used.