dmem_1.s 875 Bytes

/********************************************
 * dmem_1 pattern 5a5a5a5a5a5a5a5a
 *                a5a5a5a5a5a5a5a5
 ********************************************/

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


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

	lqv     $v0,  0($0);	
	lqv     $v1, 16($0);	
        
loop:
	sqv     $v0, 0(DmemPntr_W); addi        DmemPntr_W,DmemPntr_W,16; 
	sqv     $v1, 0(DmemPntr_W); addi        DmemPntr_W,DmemPntr_W,16; 

	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 0x5a5a
	.half 0x5a5a
	.half 0x5a5a
	.half 0x5a5a
	.half 0x5a5a
	.half 0x5a5a
	.half 0x5a5a
	.half 0x5a5a

	.half 0xa5a5
	.half 0xa5a5
	.half 0xa5a5
	.half 0xa5a5
	.half 0xa5a5
	.half 0xa5a5
	.half 0xa5a5
	.half 0xa5a5