; Start of data segment
.data
; 		 
Matrix:		
.float 2, 2, 3,	4,	5,	7, 7, 9, 9,	10,	11,	14, 13,	14,	16,	16,	17,	21, 19,	20,	21,	23,	23,	28, 25,	26,	27,	28,	30,	35

.space	100

		; Start of code segment
		.text
		
Init:		lhi	    	r1,Matrix>>16
			addui	    r1,r1,Matrix&0xffff ; base address of X array
			addui	    r4,r0,5	; loop control variable
Loop:		lf          f1,0(r1)    ; start of the loop for optimization
			addf	    f1,f0,10
			sf	    	0(r1),f1
			
			addui	    r1,r1,4	; address pointer
			subui	    r4,r4,1	; loop control variable
			bnez	    r4,Loop	
			trap #0