-
Notifications
You must be signed in to change notification settings - Fork 0
/
myTest3.out
71 lines (43 loc) · 889 Bytes
/
myTest3.out
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
66
67
68
69
70
71
mips> s
pc if/id id/exe exe/mem mem/wb
1 addi empty empty empty
mips> s
pc if/id id/exe exe/mem mem/wb
2 addi addi empty empty
mips> s
pc if/id id/exe exe/mem mem/wb
3 jal addi addi empty
mips> s
pc if/id id/exe exe/mem mem/wb
4 squash jal addi addi
mips> s
pc if/id id/exe exe/mem mem/wb
5 addi squash jal addi
mips> s
pc if/id id/exe exe/mem mem/wb
6 slt addi squash jal
mips> s
pc if/id id/exe exe/mem mem/wb
7 bne slt addi squash
mips> s
pc if/id id/exe exe/mem mem/wb
8 addi bne slt addi
mips> s
pc if/id id/exe exe/mem mem/wb
9 sw addi bne slt
mips> s
pc if/id id/exe exe/mem mem/wb
10 sw sw addi bne
mips> s
pc if/id id/exe exe/mem mem/wb
11 addi sw sw addi
mips> s
pc if/id id/exe exe/mem mem/wb
12 jal addi sw sw
mips> s
pc if/id id/exe exe/mem mem/wb
4 squash jal addi sw
mips> r
Program complete
CPI = 1.414 Cycles = 1694 Instructions = 1198
mips> q