-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput3.output
49 lines (39 loc) · 1.33 KB
/
output3.output
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
mips> c
Simulator reset
mips> d
pc = 0
$0 = 0 $v0 = 0 $v1 = 0 $a0 = 0
$a1 = 0 $a2 = 0 $a3 = 0 $t0 = 0
$t1 = 0 $t2 = 0 $t3 = 0 $t4 = 0
$t5 = 0 $t6 = 0 $t7 = 0 $s0 = 0
$s1 = 0 $s2 = 0 $s3 = 0 $s4 = 0
$s5 = 0 $s6 = 0 $s7 = 0 $t8 = 0
$t9 = 0 $sp = 0 $ra = 0
mips> s
1 instruction(s) executed
mips> s
1 instruction(s) executed
mips> d
pc = 2
$0 = 0 $v0 = 0 $v1 = 0 $a0 = 0
$a1 = 0 $a2 = 0 $a3 = 0 $t0 = 15
$t1 = 10 $t2 = 0 $t3 = 0 $t4 = 0
$t5 = 0 $t6 = 0 $t7 = 0 $s0 = 0
$s1 = 0 $s2 = 0 $s3 = 0 $s4 = 0
$s5 = 0 $s6 = 0 $s7 = 0 $t8 = 0
$t9 = 0 $sp = 0 $ra = 0
mips> r
mips> d
pc = 5
$0 = 0 $v0 = 0 $v1 = 0 $a0 = 0
$a1 = 0 $a2 = 0 $a3 = 0 $t0 = 15
$t1 = 10 $t2 = 10 $t3 = 15 $t4 = 0
$t5 = 0 $t6 = 0 $t7 = 0 $s0 = 0
$s1 = 0 $s2 = 0 $s3 = 0 $s4 = 0
$s5 = 0 $s6 = 0 $s7 = 0 $t8 = 0
$t9 = 0 $sp = 0 $ra = 0
mips> m 0 2
[0] = 0
[1] = 10
[2] = 0
mips> q