-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIssueInterrupt.c
262 lines (262 loc) · 10.6 KB
/
IssueInterrupt.c
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
void IssueInterrupt(unsigned char num)
{
switch(num)
{
case 0: __asm__ ("int 0\n" ); break;
case 1: __asm__ ("int 1\n" ); break;
case 2: __asm__ ("int 2\n" ); break;
case 3: __asm__ ("int 3\n" ); break;
case 4: __asm__ ("int 4\n" ); break;
case 5: __asm__ ("int 5\n" ); break;
case 6: __asm__ ("int 6\n" ); break;
case 7: __asm__ ("int 7\n" ); break;
case 8: __asm__ ("int 8\n" ); break;
case 9: __asm__ ("int 9\n" ); break;
case 10: __asm__ ("int 10\n" ); break;
case 11: __asm__ ("int 11\n" ); break;
case 12: __asm__ ("int 12\n" ); break;
case 13: __asm__ ("int 13\n" ); break;
case 14: __asm__ ("int 14\n" ); break;
case 15: __asm__ ("int 15\n" ); break;
case 16: __asm__ ("int 16\n" ); break;
case 17: __asm__ ("int 17\n" ); break;
case 18: __asm__ ("int 18\n" ); break;
case 19: __asm__ ("int 19\n" ); break;
case 20: __asm__ ("int 20\n" ); break;
case 21: __asm__ ("int 21\n" ); break;
case 22: __asm__ ("int 22\n" ); break;
case 23: __asm__ ("int 23\n" ); break;
case 24: __asm__ ("int 24\n" ); break;
case 25: __asm__ ("int 25\n" ); break;
case 26: __asm__ ("int 26\n" ); break;
case 27: __asm__ ("int 27\n" ); break;
case 28: __asm__ ("int 28\n" ); break;
case 29: __asm__ ("int 29\n" ); break;
case 30: __asm__ ("int 30\n" ); break;
case 31: __asm__ ("int 31\n" ); break;
case 32: __asm__ ("int 32\n" ); break;
case 33: __asm__ ("int 33\n" ); break;
case 34: __asm__ ("int 34\n" ); break;
case 35: __asm__ ("int 35\n" ); break;
case 36: __asm__ ("int 36\n" ); break;
case 37: __asm__ ("int 37\n" ); break;
case 38: __asm__ ("int 38\n" ); break;
case 39: __asm__ ("int 39\n" ); break;
case 40: __asm__ ("int 40\n" ); break;
case 41: __asm__ ("int 41\n" ); break;
case 42: __asm__ ("int 42\n" ); break;
case 43: __asm__ ("int 43\n" ); break;
case 44: __asm__ ("int 44\n" ); break;
case 45: __asm__ ("int 45\n" ); break;
case 46: __asm__ ("int 46\n" ); break;
case 47: __asm__ ("int 47\n" ); break;
case 48: __asm__ ("int 48\n" ); break;
case 49: __asm__ ("int 49\n" ); break;
case 50: __asm__ ("int 50\n" ); break;
case 51: __asm__ ("int 51\n" ); break;
case 52: __asm__ ("int 52\n" ); break;
case 53: __asm__ ("int 53\n" ); break;
case 54: __asm__ ("int 54\n" ); break;
case 55: __asm__ ("int 55\n" ); break;
case 56: __asm__ ("int 56\n" ); break;
case 57: __asm__ ("int 57\n" ); break;
case 58: __asm__ ("int 58\n" ); break;
case 59: __asm__ ("int 59\n" ); break;
case 60: __asm__ ("int 60\n" ); break;
case 61: __asm__ ("int 61\n" ); break;
case 62: __asm__ ("int 62\n" ); break;
case 63: __asm__ ("int 63\n" ); break;
case 64: __asm__ ("int 64\n" ); break;
case 65: __asm__ ("int 65\n" ); break;
case 66: __asm__ ("int 66\n" ); break;
case 67: __asm__ ("int 67\n" ); break;
case 68: __asm__ ("int 68\n" ); break;
case 69: __asm__ ("int 69\n" ); break;
case 70: __asm__ ("int 70\n" ); break;
case 71: __asm__ ("int 71\n" ); break;
case 72: __asm__ ("int 72\n" ); break;
case 73: __asm__ ("int 73\n" ); break;
case 74: __asm__ ("int 74\n" ); break;
case 75: __asm__ ("int 75\n" ); break;
case 76: __asm__ ("int 76\n" ); break;
case 77: __asm__ ("int 77\n" ); break;
case 78: __asm__ ("int 78\n" ); break;
case 79: __asm__ ("int 79\n" ); break;
case 80: __asm__ ("int 80\n" ); break;
case 81: __asm__ ("int 81\n" ); break;
case 82: __asm__ ("int 82\n" ); break;
case 83: __asm__ ("int 83\n" ); break;
case 84: __asm__ ("int 84\n" ); break;
case 85: __asm__ ("int 85\n" ); break;
case 86: __asm__ ("int 86\n" ); break;
case 87: __asm__ ("int 87\n" ); break;
case 88: __asm__ ("int 88\n" ); break;
case 89: __asm__ ("int 89\n" ); break;
case 90: __asm__ ("int 90\n" ); break;
case 91: __asm__ ("int 91\n" ); break;
case 92: __asm__ ("int 92\n" ); break;
case 93: __asm__ ("int 93\n" ); break;
case 94: __asm__ ("int 94\n" ); break;
case 95: __asm__ ("int 95\n" ); break;
case 96: __asm__ ("int 96\n" ); break;
case 97: __asm__ ("int 97\n" ); break;
case 98: __asm__ ("int 98\n" ); break;
case 99: __asm__ ("int 99\n" ); break;
case 100: __asm__ ("int 100\n" ); break;
case 101: __asm__ ("int 101\n" ); break;
case 102: __asm__ ("int 102\n" ); break;
case 103: __asm__ ("int 103\n" ); break;
case 104: __asm__ ("int 104\n" ); break;
case 105: __asm__ ("int 105\n" ); break;
case 106: __asm__ ("int 106\n" ); break;
case 107: __asm__ ("int 107\n" ); break;
case 108: __asm__ ("int 108\n" ); break;
case 109: __asm__ ("int 109\n" ); break;
case 110: __asm__ ("int 110\n" ); break;
case 111: __asm__ ("int 111\n" ); break;
case 112: __asm__ ("int 112\n" ); break;
case 113: __asm__ ("int 113\n" ); break;
case 114: __asm__ ("int 114\n" ); break;
case 115: __asm__ ("int 115\n" ); break;
case 116: __asm__ ("int 116\n" ); break;
case 117: __asm__ ("int 117\n" ); break;
case 118: __asm__ ("int 118\n" ); break;
case 119: __asm__ ("int 119\n" ); break;
case 120: __asm__ ("int 120\n" ); break;
case 121: __asm__ ("int 121\n" ); break;
case 122: __asm__ ("int 122\n" ); break;
case 123: __asm__ ("int 123\n" ); break;
case 124: __asm__ ("int 124\n" ); break;
case 125: __asm__ ("int 125\n" ); break;
case 126: __asm__ ("int 126\n" ); break;
case 127: __asm__ ("int 127\n" ); break;
case 128: __asm__ ("int 128\n" ); break;
case 129: __asm__ ("int 129\n" ); break;
case 130: __asm__ ("int 130\n" ); break;
case 131: __asm__ ("int 131\n" ); break;
case 132: __asm__ ("int 132\n" ); break;
case 133: __asm__ ("int 133\n" ); break;
case 134: __asm__ ("int 134\n" ); break;
case 135: __asm__ ("int 135\n" ); break;
case 136: __asm__ ("int 136\n" ); break;
case 137: __asm__ ("int 137\n" ); break;
case 138: __asm__ ("int 138\n" ); break;
case 139: __asm__ ("int 139\n" ); break;
case 140: __asm__ ("int 140\n" ); break;
case 141: __asm__ ("int 141\n" ); break;
case 142: __asm__ ("int 142\n" ); break;
case 143: __asm__ ("int 143\n" ); break;
case 144: __asm__ ("int 144\n" ); break;
case 145: __asm__ ("int 145\n" ); break;
case 146: __asm__ ("int 146\n" ); break;
case 147: __asm__ ("int 147\n" ); break;
case 148: __asm__ ("int 148\n" ); break;
case 149: __asm__ ("int 149\n" ); break;
case 150: __asm__ ("int 150\n" ); break;
case 151: __asm__ ("int 151\n" ); break;
case 152: __asm__ ("int 152\n" ); break;
case 153: __asm__ ("int 153\n" ); break;
case 154: __asm__ ("int 154\n" ); break;
case 155: __asm__ ("int 155\n" ); break;
case 156: __asm__ ("int 156\n" ); break;
case 157: __asm__ ("int 157\n" ); break;
case 158: __asm__ ("int 158\n" ); break;
case 159: __asm__ ("int 159\n" ); break;
case 160: __asm__ ("int 160\n" ); break;
case 161: __asm__ ("int 161\n" ); break;
case 162: __asm__ ("int 162\n" ); break;
case 163: __asm__ ("int 163\n" ); break;
case 164: __asm__ ("int 164\n" ); break;
case 165: __asm__ ("int 165\n" ); break;
case 166: __asm__ ("int 166\n" ); break;
case 167: __asm__ ("int 167\n" ); break;
case 168: __asm__ ("int 168\n" ); break;
case 169: __asm__ ("int 169\n" ); break;
case 170: __asm__ ("int 170\n" ); break;
case 171: __asm__ ("int 171\n" ); break;
case 172: __asm__ ("int 172\n" ); break;
case 173: __asm__ ("int 173\n" ); break;
case 174: __asm__ ("int 174\n" ); break;
case 175: __asm__ ("int 175\n" ); break;
case 176: __asm__ ("int 176\n" ); break;
case 177: __asm__ ("int 177\n" ); break;
case 178: __asm__ ("int 178\n" ); break;
case 179: __asm__ ("int 179\n" ); break;
case 180: __asm__ ("int 180\n" ); break;
case 181: __asm__ ("int 181\n" ); break;
case 182: __asm__ ("int 182\n" ); break;
case 183: __asm__ ("int 183\n" ); break;
case 184: __asm__ ("int 184\n" ); break;
case 185: __asm__ ("int 185\n" ); break;
case 186: __asm__ ("int 186\n" ); break;
case 187: __asm__ ("int 187\n" ); break;
case 188: __asm__ ("int 188\n" ); break;
case 189: __asm__ ("int 189\n" ); break;
case 190: __asm__ ("int 190\n" ); break;
case 191: __asm__ ("int 191\n" ); break;
case 192: __asm__ ("int 192\n" ); break;
case 193: __asm__ ("int 193\n" ); break;
case 194: __asm__ ("int 194\n" ); break;
case 195: __asm__ ("int 195\n" ); break;
case 196: __asm__ ("int 196\n" ); break;
case 197: __asm__ ("int 197\n" ); break;
case 198: __asm__ ("int 198\n" ); break;
case 199: __asm__ ("int 199\n" ); break;
case 200: __asm__ ("int 200\n" ); break;
case 201: __asm__ ("int 201\n" ); break;
case 202: __asm__ ("int 202\n" ); break;
case 203: __asm__ ("int 203\n" ); break;
case 204: __asm__ ("int 204\n" ); break;
case 205: __asm__ ("int 205\n" ); break;
case 206: __asm__ ("int 206\n" ); break;
case 207: __asm__ ("int 207\n" ); break;
case 208: __asm__ ("int 208\n" ); break;
case 209: __asm__ ("int 209\n" ); break;
case 210: __asm__ ("int 210\n" ); break;
case 211: __asm__ ("int 211\n" ); break;
case 212: __asm__ ("int 212\n" ); break;
case 213: __asm__ ("int 213\n" ); break;
case 214: __asm__ ("int 214\n" ); break;
case 215: __asm__ ("int 215\n" ); break;
case 216: __asm__ ("int 216\n" ); break;
case 217: __asm__ ("int 217\n" ); break;
case 218: __asm__ ("int 218\n" ); break;
case 219: __asm__ ("int 219\n" ); break;
case 220: __asm__ ("int 220\n" ); break;
case 221: __asm__ ("int 221\n" ); break;
case 222: __asm__ ("int 222\n" ); break;
case 223: __asm__ ("int 223\n" ); break;
case 224: __asm__ ("int 224\n" ); break;
case 225: __asm__ ("int 225\n" ); break;
case 226: __asm__ ("int 226\n" ); break;
case 227: __asm__ ("int 227\n" ); break;
case 228: __asm__ ("int 228\n" ); break;
case 229: __asm__ ("int 229\n" ); break;
case 230: __asm__ ("int 230\n" ); break;
case 231: __asm__ ("int 231\n" ); break;
case 232: __asm__ ("int 232\n" ); break;
case 233: __asm__ ("int 233\n" ); break;
case 234: __asm__ ("int 234\n" ); break;
case 235: __asm__ ("int 235\n" ); break;
case 236: __asm__ ("int 236\n" ); break;
case 237: __asm__ ("int 237\n" ); break;
case 238: __asm__ ("int 238\n" ); break;
case 239: __asm__ ("int 239\n" ); break;
case 240: __asm__ ("int 240\n" ); break;
case 241: __asm__ ("int 241\n" ); break;
case 242: __asm__ ("int 242\n" ); break;
case 243: __asm__ ("int 243\n" ); break;
case 244: __asm__ ("int 244\n" ); break;
case 245: __asm__ ("int 245\n" ); break;
case 246: __asm__ ("int 246\n" ); break;
case 247: __asm__ ("int 247\n" ); break;
case 248: __asm__ ("int 248\n" ); break;
case 249: __asm__ ("int 249\n" ); break;
case 250: __asm__ ("int 250\n" ); break;
case 251: __asm__ ("int 251\n" ); break;
case 252: __asm__ ("int 252\n" ); break;
case 253: __asm__ ("int 253\n" ); break;
case 254: __asm__ ("int 254\n" ); break;
case 255: __asm__ ("int 255\n" ); break;
}
}