I have a file where I need to read the data from? I am doing
temp: .word 32
li $v0,5 #read from an input
sw $a0,$v0 <<<<<< syntax error here.
I dont understand why I keep getting syntax error here. I am trying to store the value read in the memory and then print the value. Can any one tell me where I am going wrong and how should I go about fixing the above problem.