title: How to print .word value that is in the memory in Assembly without using la/li
body: <p>How do I print .word value that is in the memory in Assembly without using <code>la/li</code>? I can only use the basic functions. I can print <code>.asciiz</code>, but I don't know what I am doing wrong that it is not printing the values (integer) in the memory addresses :( </p>
  
  <p>Here is my code for printing out my <code>asciiz</code>: </p>
  
  <pre><code>lui $a0, 0x1001
  addi $a0, $a0, 12 # set the address to my string location
  addi $v0, $0, 4 
  syscall
  </code></pre>
  
  <p>I wrote the same code except with different addresses but it is not printing out anything. I also tried to search but couldn't find exact answer to this question. </p>
  
  <p>Please advise. Any help will be greatly appreciated. Please correct me if I have misunderstood anything. Thank you in advance. </p>