We are using a real MIPS microprocessor for our computer architecture class.
We ssh into our linux server at school, and then run our MIPS assembly from there.
I have been trying to run :
# Hello World!
.data
## String to be printed:
out_string: .asciiz "\nHello, World!\n"
.text
.global main
main:
li $v0, 4
la $a0, out_string
syscall
li $v0, 10
syscall
I run gcc "file".s and it compiles.
However, the string I am expecting to print to the screen doesn't get printed.
My question is am I able to use syscall with the system we have, or is that only going to work with emulators ?
Thanks