dmem_5.s 863 Bytes

/***********************************************
 * dmem_5 pattern increement by 0001000100010001 
 ***********************************************/

#define DmemPntr_W   $1
#define I   $2
#define R_loop $3


 	ori	DmemPntr_W, $0, 0x0
 	or	I, $0, $0
 	ori	R_loop, $0, 256

	lqv     $v0,  16($0); /* Initial value = 0 */	
	lqv     $v1,   0($0); /* Increement 010101 */	
        
loop:
	sqv     $v0, 0(DmemPntr_W); addi        DmemPntr_W,DmemPntr_W,16; 
	vadd	$v0, $v0, $v1

	addi	I, I, 1
	bne	R_loop, I, loop

	nop
	nop

	or    $1,$0, $0
        ori   $1, 0xfeed

	nop
	nop
	nop
	nop

	break

	nop
	nop
	nop
	nop
	nop
	nop
	nop

	
.data

	.half 0x0001
	.half 0x0001
	.half 0x0001
	.half 0x0001
	.half 0x0001
	.half 0x0001
	.half 0x0001
	.half 0x0001

	.half 0x0000
	.half 0x0000
	.half 0x0000
	.half 0x0000
	.half 0x0000
	.half 0x0000
	.half 0x0000
	.half 0x0000