added makeint

master
Sanjar Ahmadov 4 years ago
parent 4d97a84bce
commit bcf37be308

@ -0,0 +1,11 @@
# Box integer
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
Loading…
Cancel
Save