MIPS Assembly Number of Instructions
<pre><code>.text  
.global main  
main:      
        addi    $v0, $zero,0  
        la  $t0, length  
        lw  $t1, 0($t0)  
        la  $t4, array  
        addi $t1, $t1, -1  
        sll $t1,$t1,2  

loop:   
        add $t3, $t4,$t1  
        lw  $t2,0($t3)  
        add $v0,$v0,$t2  
        addi $t1,$t1,-4  
test:   
        slti $t9,$t1,0  
        beq $t9,$zero,loop  
        nop   
        sw  $v0, 0($t0)  
.data  
length: .word 8  
array:  .word 9,8,7,6,5,4,3,2  
</code></pre>

<p>I have to tell how many static instructions are in this code. I know that before data there are 16 instructions, I am wondering if the directives written after .data are also considered as 2 instructions, making a total of 18 instructions.</p>