title: Mips, saving a character stored in a variable to register
body: <p>I've created a <code>.byte var1</code> in my <code>.data</code> segment. And now I want to store content of my var1 into $t1. To do that , should I use <code>lb</code> instructor or <code>la</code> instructor.To be honest I couldnt figure out the differences between two. Thanks in advance. Here is my try:</p>
  
  <pre><code>.data
  
  var1: .byte '/'
  
  .text
  
  main:
     lb $t2,var1  #I want to t2 stores '/' character.
  </code></pre>
  
  <p>One more question: when I write <code>beq $t1,$t2</code>, does it compare two adresses, or the content of these two address? </p>