diff options
Diffstat (limited to 'mips/chapter-2/exercise-1/c.s')
-rw-r--r-- | mips/chapter-2/exercise-1/c.s | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mips/chapter-2/exercise-1/c.s b/mips/chapter-2/exercise-1/c.s deleted file mode 100644 index 370af96..0000000 --- a/mips/chapter-2/exercise-1/c.s +++ /dev/null @@ -1,15 +0,0 @@ -# sp -= 16 - .text -main: - addi $sp, $sp, -16 # sp -= 16, may underflow - - li $v0, 1 # print integer - move $a0, $sp # at sp - syscall - - li $v0, 11 # print character - li $a0, 10 # newline - syscall - - li $v0, 10 # terminate program run - syscall |