1
SPIM Version 6.3 of December 20, 2000
2
Copyright 1990-2000 by James R. Larus (larus@cs.wisc.edu).
1
SPIM Version 6.5 of January 4, 2003
2
Copyright 1990-2003 by James R. Larus (larus@cs.wisc.edu).
4
4
See the file README for a full copyright notice.
5
5
Loaded: ./trap.handler
6
Target of jump differs in high-order 4 bits from instruction pc 0x80000164
7
Target of jump differs in high-order 4 bits from instruction pc 0x400530
6
8
The next few lines should contain exception error messages
7
Exception occurred at PC=0x0040003c
9
Exception occurred at PC=0x00400040
8
10
Unaligned address in inst/data fetch: 0x00400001
9
11
Exception 4 [Unaligned address in inst/data fetch] occurred and ignored
10
Exception occurred at PC=0x00400040
12
Exception occurred at PC=0x00400044
11
13
Unaligned address in store: 0x00400001
12
14
Exception 5 [Unaligned address in store] occurred and ignored
13
Exception occurred at PC=0x0040004c
15
Exception occurred at PC=0x00400050
14
16
Bad address in data/stack read: 0x00d89680
15
17
Exception 7 [Bad address in data/stack read] occurred and ignored
16
Exception occurred at PC=0x00400050
18
Exception occurred at PC=0x00400054
17
19
Exception 9 [Breakpoint] occurred and ignored
18
Exception occurred at PC=0x0040005c
20
Exception occurred at PC=0x00400060
19
21
Arithmetic overflow
20
22
Exception 12 [Arithmetic overflow] occurred and ignored
21
23
Done with exceptions
38
40
Expect a exception message:
39
Exception occurred at PC=0x004003a0
41
Exception occurred at PC=0x004003a4
40
42
Exception 9 [Breakpoint] occurred and ignored
41
43
Testing move to/from coprocessor control z
43
45
Expect exception caused by divide by 0:
44
Exception occurred at PC=0x0040046c
46
Exception occurred at PC=0x00400470
45
47
Exception 9 [Breakpoint] occurred and ignored
47
49
Expect exception caused by divide by 0:
48
Exception occurred at PC=0x00400504
50
Exception occurred at PC=0x00400508
49
51
Exception 9 [Breakpoint] occurred and ignored
53
55
Expect an non-word boundary exception:
54
Exception occurred at PC=0x0040059c
55
Bad address in text read: 0x0040059e
56
Exception occurred at PC=0x004005a8
57
Bad address in text read: 0x004005aa
56
58
Exception 6 [Bad address in text read] occurred and ignored
58
60
Expect an non-word boundary exception:
59
Exception occurred at PC=0x004005dc
60
Bad address in text read: 0x004005de
61
Exception occurred at PC=0x004005e8
62
Bad address in text read: 0x004005ea
61
63
Exception 6 [Bad address in text read] occurred and ignored
64
66
Expect an address error exceptions:
65
Exception occurred at PC=0x004006dc
67
Exception occurred at PC=0x004006e8
66
68
Bad address in data/stack read: 0x800003e7
67
69
Exception 7 [Bad address in data/stack read] occurred and ignored
69
71
Expect an address error exceptions:
70
Exception occurred at PC=0x004007a4
72
Exception occurred at PC=0x004007b0
71
73
Bad address in data/stack read: 0x800003e7
72
74
Exception 7 [Bad address in data/stack read] occurred and ignored
74
76
Expect four address error exceptions:
75
Exception occurred at PC=0x00400808
77
Exception occurred at PC=0x00400814
76
78
Unaligned address in inst/data fetch: 0x800003e7
77
79
Exception 4 [Unaligned address in inst/data fetch] occurred and ignored
78
Exception occurred at PC=0x0040080c
80
Exception occurred at PC=0x00400818
79
81
Unaligned address in inst/data fetch: 0x800003eb
80
82
Exception 4 [Unaligned address in inst/data fetch] occurred and ignored
81
Exception occurred at PC=0x00400810
83
Exception occurred at PC=0x0040081c
82
84
Bad address in data/stack read: 0x800003e8
83
85
Exception 7 [Bad address in data/stack read] occurred and ignored
84
Exception occurred at PC=0x00400814
86
Exception occurred at PC=0x00400820
85
87
Bad address in data/stack read: 0x800003ec
86
88
Exception 7 [Bad address in data/stack read] occurred and ignored
88
90
Expect two address error exceptions:
89
Exception occurred at PC=0x0040087c
91
Exception occurred at PC=0x00400888
90
92
Unaligned address in inst/data fetch: 0x800003e7
91
93
Exception 4 [Unaligned address in inst/data fetch] occurred and ignored
92
Exception occurred at PC=0x00400880
94
Exception occurred at PC=0x0040088c
93
95
Bad address in data/stack read: 0x800003e8
94
96
Exception 7 [Bad address in data/stack read] occurred and ignored
96
98
Expect two address error exceptions:
97
Exception occurred at PC=0x004008e0
99
Exception occurred at PC=0x004008ec
98
100
Unaligned address in inst/data fetch: 0x800003e7
99
101
Exception 4 [Unaligned address in inst/data fetch] occurred and ignored
100
Exception occurred at PC=0x004008e4
102
Exception occurred at PC=0x004008f0
101
103
Bad address in data/stack read: 0x800003e8
102
104
Exception 7 [Bad address in data/stack read] occurred and ignored
105
107
Expect two address error exceptions:
106
Exception occurred at PC=0x004009c8
108
Exception occurred at PC=0x004009d0
107
109
Unaligned address in inst/data fetch: 0x800003e7
108
110
Exception 4 [Unaligned address in inst/data fetch] occurred and ignored
109
Exception occurred at PC=0x004009cc
111
Exception occurred at PC=0x004009d4
110
112
Bad address in data/stack read: 0x800003e8
111
113
Exception 7 [Bad address in data/stack read] occurred and ignored
113
115
Expect two address error exceptions:
114
Exception occurred at PC=0x00400a84
116
Exception occurred at PC=0x00400a8c
115
117
Bad address in data/stack read: 0x800003e4
116
118
Exception 7 [Bad address in data/stack read] occurred and ignored
117
Exception occurred at PC=0x00400a88
119
Exception occurred at PC=0x00400a90
118
120
Bad address in data/stack read: 0x800003e8
119
121
Exception 7 [Bad address in data/stack read] occurred and ignored
121
123
Expect two address error exceptions:
122
Exception occurred at PC=0x00400b3c
124
Exception occurred at PC=0x00400b44
123
125
Bad address in data/stack read: 0x800003e4
124
126
Exception 7 [Bad address in data/stack read] occurred and ignored
125
Exception occurred at PC=0x00400b40
127
Exception occurred at PC=0x00400b48
126
128
Bad address in data/stack read: 0x800003e8
127
129
Exception 7 [Bad address in data/stack read] occurred and ignored
128
130
Testing move to/from coprocessor z
133
135
Expect an exception:
134
Exception occurred at PC=0x00400f5c
136
Exception occurred at PC=0x00400f64
135
137
Exception 9 [Breakpoint] occurred and ignored
140
142
Expect an address error exceptions:
141
Exception occurred at PC=0x004010b0
143
Exception occurred at PC=0x004010b8
142
144
Bad address in data/stack read: 0x800003e7
143
145
Exception 7 [Bad address in data/stack read] occurred and ignored
145
147
Expect two address error exceptions:
146
Exception occurred at PC=0x0040110c
147
Unaligned address in store: 0x800003e7
148
Exception 5 [Unaligned address in store] occurred and ignored
149
Exception occurred at PC=0x00401110
150
Unaligned address in store: 0x800003eb
151
Exception 5 [Unaligned address in store] occurred and ignored
152
148
Exception occurred at PC=0x00401114
153
Bad address in data/stack read: 0x800003e8
154
Exception 7 [Bad address in data/stack read] occurred and ignored
149
Unaligned address in store: 0x800003e7
150
Exception 5 [Unaligned address in store] occurred and ignored
155
151
Exception occurred at PC=0x00401118
152
Unaligned address in store: 0x800003eb
153
Exception 5 [Unaligned address in store] occurred and ignored
154
Exception occurred at PC=0x0040111c
155
Bad address in data/stack read: 0x800003e8
156
Exception 7 [Bad address in data/stack read] occurred and ignored
157
Exception occurred at PC=0x00401120
156
158
Bad address in data/stack read: 0x800003ec
157
159
Exception 7 [Bad address in data/stack read] occurred and ignored
159
161
Expect two address error exceptions:
160
Exception occurred at PC=0x00401178
162
Exception occurred at PC=0x00401180
161
163
Unaligned address in store: 0x800003e7
162
164
Exception 5 [Unaligned address in store] occurred and ignored
163
Exception occurred at PC=0x0040117c
165
Exception occurred at PC=0x00401184
164
166
Bad address in data/stack read: 0x800003e8
165
167
Exception 7 [Bad address in data/stack read] occurred and ignored