title: Declaring integer values in MIPS
body: <p>So I am writing an assembly program that has lots of constant integer values.</p>
  
  <p>I know that in the .data section I can assign a label with a .word data type and type in my number. With this method I still have to load an address in main.</p>
  
  <p>But in main, I could just simply use </p>
  
  <p><em>li $t1, some_number</em></p>
  
  <p>Are any one of these methods better than the other and why?</p>