diff options
Diffstat (limited to 'test6.asm')
| -rwxr-xr-x | test6.asm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test6.asm b/test6.asm new file mode 100755 index 0000000..3a9a21f --- /dev/null +++ b/test6.asm @@ -0,0 +1,18 @@ +.text + +addi $t0, $zero, x +addi $v0, $zero, 1 +lw $a0, 0($t0) +syscall +addi $v0, $zero, 10 +syscall + +.data + +x: .word 0xFFFFFFFF +#fib: .space 40 +#h: .half 255 +#c: .byte 0 +#dogs: .ascii "Dogs are cool\n" +#cats: .asciiz "cats are cool\n" + |
