BY: draconis DATE: 2006-Dec-30 06:15 SUBJECT: MIPS Assembly - Hello WorldHi,
I've got a problem with the following Assembly-Program on PS2:
#include <regdef.h>
.text
.globl main
.ent main
main:
.frame sp, 0, $31
addi v0, zero, 4
lw a0, msg
syscall
addi $2, zero, 10
syscall
j $31
.end main
.data
msg: .asciiz "Hello World"
I managed to precompile and to compile it, but when I start the resulting binary nothing happens.
No error, no output. Nothing :(
Can anybody please help me?
I wish you a happy new year!
Andre |