diff options
Diffstat (limited to 'mips/chapter-2/exercise-1/e.s')
-rw-r--r-- | mips/chapter-2/exercise-1/e.s | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mips/chapter-2/exercise-1/e.s b/mips/chapter-2/exercise-1/e.s deleted file mode 100644 index d35702d..0000000 --- a/mips/chapter-2/exercise-1/e.s +++ /dev/null @@ -1,18 +0,0 @@ -# read to and echo t0 - .text -main: - li $v0, 5 # read integer to v0 - syscall - - move $t0, $v0 # t0 = v0 - - li $v0, 1 # print integer - move $a0, $t0 # at t0 - syscall - - li $v0, 11 # print character - li $a0, 10 # newline - syscall - - li $v0, 10 # terminate program run - syscall |