dmem_2.s
874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/********************************************
* dmem_2 pattern a5a5a5a5a5a5a5a5
* 5a5a5a5a5a5a5a5a
********************************************/
#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 0xa5a5
.half 0xa5a5
.half 0xa5a5
.half 0xa5a5
.half 0xa5a5
.half 0xa5a5
.half 0xa5a5
.half 0xa5a5
.half 0x5a5a
.half 0x5a5a
.half 0x5a5a
.half 0x5a5a
.half 0x5a5a
.half 0x5a5a
.half 0x5a5a
.half 0x5a5a