pauledwardian
asked on
MIPS Assembly
How Can I print 2 more string on this code:
la $a0, hello_msg
li $v0, 4
syscall
Why I cannot do it like this: !!! Loading the address into 3 differant addresses and then Calling the print_string()??? Please explain clearly....
la $a0, hello_msg1
la $a1, hello_msg2
la $a2, hello_msg3
li $v0, 4
syscall
la $a0, hello_msg
li $v0, 4
syscall
Why I cannot do it like this: !!! Loading the address into 3 differant addresses and then Calling the print_string()??? Please explain clearly....
la $a0, hello_msg1
la $a1, hello_msg2
la $a2, hello_msg3
li $v0, 4
syscall
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@kozaiwaniec
Did you never call an OS function with assembly? ;-)
Did you never call an OS function with assembly? ;-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!
http://www.tfinley.net/notes/cps104/mips.html