aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/test/out/02.s
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/test/out/02.s')
-rw-r--r--c_compiler/test/out/02.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/c_compiler/test/out/02.s b/c_compiler/test/out/02.s
new file mode 100644
index 0000000..eae78d0
--- /dev/null
+++ b/c_compiler/test/out/02.s
@@ -0,0 +1,11 @@
+ .text
+ .globl main
+main:
+ addiu $sp,$sp,-12
+ sw $fp,8($sp)
+ move $fp,$sp
+ move $sp,$fp
+ lw $fp,8($sp)
+ addiu $sp,$sp,12
+ jr $31
+ nop