Mips assembly language loop through array and isolates bits of interest
<p>I need to loop through this array of bytes</p>

<pre><code>testCases: .byte 0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47
</code></pre>

<p>Im assuming I would do something like this, but not sure</p>

<pre><code>  ori $a1, $0, 0x0   # Initialize index with 0
LOOP:  
    lw $t1, testCases($a1)   
         ...
         ...
    addi $a1, $a1, 1   # Increment index by 1
    j LOOP
</code></pre>

<p>and isolate the b6,b2,b1,b0 bits using a bitmask. I'm very new to mips and would appreciate any help. Thank you.</p>