You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
186 B
11 lines
186 B
3 years ago
|
|
||
|
addi sp, sp, -8
|
||
|
sw ra, 4(sp)
|
||
|
sw a0, 0(sp)
|
||
|
la a0, $int$prototype
|
||
|
jal ra, alloc
|
||
|
lw t0, 0(sp)
|
||
|
sw t0, @.__int__(a0)
|
||
|
lw ra, 4(sp)
|
||
|
addi sp, sp, 8
|
||
|
jr ra
|