#include    <xc.h>

            .global    sillyArray
            .text
            .set       noreorder
            .align     2             # Align on 4-byte boundary
            .ent       sillyArray
            .frame     $sp,0,$ra
sillyArray:

# Following MIPS calling conventions, arguments will be as follows:
#   $a0: int *V
#   $a1: int size
#   $a2: int z

# Do the following pointless operators

    # V[7] = 202 ;

    # V[5] = V[3] ;

    # V[z] = z ;

            addi    $v0,$zero,255
    # return v[size-1], that is
    # $v0 = V[size-1]

            jr      $ra
            nop
            .end    sillyArray
            .size    sillyArray, .-sillyArray
