14 lines
194 B
Plaintext
14 lines
194 B
Plaintext
; Hello world program.
|
|
|
|
.asciiz World
|
|
"Hello world\n"
|
|
|
|
.text main
|
|
addi t0 World ; load World's address into t0
|
|
call t0 3 ; print string syscall
|
|
halt
|
|
|
|
.asciiz hey
|
|
"Hey dude\n"
|
|
|