Skip to content

Instantly share code, notes, and snippets.

@marcuslx
marcuslx / MIPSfactorial.asm
Last active November 23, 2019 17:22
Recursive Factorial of an integer in MIPS assembly
.data
n: .word 5
result: .asciiz "Fact(x) = "
.text
.globl main
main:
lw $a0, n #$a0 = n
jal verifier