.text
.globl main
main:
ori $v0,4 #code 4 == print string
lui $a0,0x1001 #$a0 == address of the string
syscall
ori $v0, 10 #code 10 = exit the program
syscall
.data
string: .asciiz "Enter your number: "
string2: .asciiz "wrong number! "
In the above code, I am able to get the memory address of "string" which is "Enter your number: ". Is there any way I can get the memory address of "string2" without using pseudo instruction such as la. I am using Qtspim to run the code. Thank you guys!