11 March 2016 - Forum Rules
Started by tryphon, December 06, 2012, 04:54:48 AM
mov t0, ra ; or the contrary, I never remember, but you the idea is t0 <- rajal ROUTINEmov ra, t0
addi $sp, $sp, -20sw $ra, 16($sp)sw $s3, 12($sp)sw $s2, 8($sp)sw $s1, 4($sp)sw $s0, 0($sp)
Quote from: tryphon on December 06, 2012, 03:00:00 PMIn fact, I modify an existing game and am affected by size issues, so enlarging the stack, storing ra then getting back its value and decreasing the stack would necessite more op.jalr link, adress is not an option (although it's interesting and I did not know about that) because both routines are in the game and end both by jr ra.Thanks for all these enlightenments
Page created in 0.051 seconds with 20 queries.