This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatorgrade.yml
296 lines (296 loc) · 9.78 KB
/
gatorgrade.yml
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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
- math_test/math_test.md:
- description: math_test row 1 correct
category: Binary math
check: MatchFileRegex
options:
regex: '101(\s|\t|)+\|(\s|\t|)+3(\s|\t|)+\|(\s|\t|)+1(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 2 correct
category: Binary math
check: MatchFileRegex
options:
regex: '10000000(\s|\t|)+\|(\s|\t|)+8(\s|\t|)+\|(\s|\t|)+1(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 3 correct
category: Binary math
check: MatchFileRegex
options:
regex: '101100101(\s|\t|)+\|(\s|\t|)+9(\s|\t)+\|(\s|\t|)+2(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 4 correct
category: Binary math
check: MatchFileRegex
options:
regex: '10000000101(\s|\t|)+\|(\s|\t|)+11(\s|\t)+\|(\s|\t|)+2(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 5 correct
category: Binary math
check: MatchFileRegex
options:
regex: '101001101000001111011111101001(\s|\t|)+\|(\s|\t|)+30(\s|\t|)+\|(\s|\t|)+3(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 6 correct
category: Binary math
check: MatchFileRegex
options:
regex: '11111111(\s|\t|)+\|(\s|\t|)+8(\s|\t|)+\|(\s|\t|)+1(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 7 correct
category: Binary math
check: MatchFileRegex
options:
regex: '1111111111111111111111111111111(\s|\t|)+\|(\s|\t|)+31(\s|\t|)+\|(\s|\t|)+4(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 8 correct
category: Binary math
check: MatchFileRegex
options:
regex: '100001001011100101(\s|\t|)+\|(\s|\t|)+18(\s|\t|)+\|(\s|\t|)+3(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 9 correct
category: Binary math
check: MatchFileRegex
options:
regex: '110100001101010100011101000(\s|\t|)+\|(\s|\t|)+27(\s|\t|)+\|(\s|\t|)+4(\s|\t|)+\|'
count: 1
exact: true
- math_test/math_test.md:
- description: math_test row 10 correct
category: Binary math
check: MatchFileRegex
options:
regex: '100000000(\s|\t|)+\|(\s|\t|)+9(\s|\t|)+\|(\s|\t|)+2(\s|\t|)+\|'
count: 1
exact: true
- liftoff/program.S:
- description: liftoff/program.S uses the LDR instruction to load address of format string into correct register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[LDR|ldr](\s)+?[R|r]0,(\s)+=format'
count: 1
exact: false
- liftoff/program.S:
- description: liftoff/program.S moves 10 to a register to start countdown
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[mov|MOV](\s|\t)+[R|r][0-7],(\s)+#10'
count: 1
exact: true
- liftoff/program.S:
- description: liftoff/program.S uses the LDR instruction to load address of liftoff string into correct register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[ldr|LDR](\s)+?[R|r]0,(\s)+=liftoff'
count: 1
exact: false
- liftoff/program.S:
- description: liftoff/program.S uses the LDR instruction to load address of format string into correct register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bl|BL](\s|\t)+printf'
count: 1
exact: false
- liftoff/program.S:
- description: liftoff/program.S uses the SUB instruction to decrement the countdown by 1
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[sub|SUB](\s|\t)+[R|r][0-7],(\s)+#1'
count: 1
exact: true
- liftoff/program.S:
- description: liftoff/program.S uses the SUB instruction to decrement the countdown by 1
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[sub|SUB](\s|\t)+[R|r][0-7],(\s)+#1'
count: 1
exact: false
- liftoff/program.S:
- description: liftoff/program.S uses the countdown label to create subroutine decrementing countdown
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: 'countdown:\n'
count: 1
exact: true
- liftoff/program.S:
- description: liftoff/program.S uses the CMP instruction to compare a value to set the Z flag of xPSR
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[cmp|CMP](\s|\t)+[R|r][0-7],(\s)+#[0-1]'
count: 1
exact: false
- liftoff/program.S:
- description: liftoff/program.S uses a branch instruction to jump to the countdown label
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bge|BGE](\s|\t)+countdown'
count: 1
exact: false
- liftoff/program.S:
- description: liftoff/program.S uses the lift label to create subroutine to print LIFTOFF!
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: 'lift:\n'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the LDR instruction to load address of size into a register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[ldr|LDR](\s|\t)+?[R|r][0-7],(\s)+=size'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the LDR instruction to load address of arr into a register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[ldr|LDR](\s|\t)+?[R|r][0-7],(\s)+=arr'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the LDRB instruction to load a byte into a register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[ldrb|LDRB](\s|\t)+[R|r][0-7],(\s)+\[[R|r][0-7],(\s)+[R|r][0-7]\]'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the loop label to designate the addition subroutine
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: 'loop:\n'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the CMP instruction to see if current memory location equals end of array memory
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[cmp|CMP](\s|\t)+[R|r][0-7],(\s)+[R|r][0-7]'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the CMP instruction to see if current memory location equals end of array memory
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[cmp|CMP](\s|\t)+[R|r][0-7],(\s)+[R|r][0-7]'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the BNE instruction to branch when CMP'd value is not equal to return to loop label
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bne|BNE](\s|\t)+loop'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the print label to designate the print subroutine
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: 'print:\n'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S loads the format string into the correct register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[ldr|LDR](\s|\t)+[R|r]0,(\s)=format'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S moves the running sum to the correct register to print
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[mov|MOV](\s|\t)+[R|r]1,(\s)[R|r][2-7]'
count: 1
exact: true
- processor/program.S:
- description: processor/program.S uses the BL instruction to printf the sum
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bl|BL](\s|\t)+printf'
count: 1
exact: true
- polarity_checker/program.S:
- description: polarity_checker/program.S uses correct B.. insructions to branch after CMP
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[b|B][GT|gt|LT|lt|GE|ge](\s|\t)+[a-zA-Z_]+'
count: 3
exact: false
- polarity_checker/program.S:
- description: polarity_checker/program.S loads signed bytes from byte array
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[LDRSB|ldrsb](\s|\t)+[r|R][0-7],(\s)?\[[R|r][0-7],(\s)+[R|r][0-7]\]'
count: 1
exact: true
- polarity_checker/program.S:
- description: polarity_checker/program.S loads the byte array from memory
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[ldr|LDR](\s|\t)+[r|R][0-7],(\s)?=polarities'
count: 1
exact: true
- polarity_checker/program.S:
- description: polarity_checker/program.S uses at least three labels
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[a-zA-Z_]+:\n'
count: 3
exact: false
- polarity_checker/program.S:
- description: polarity_checker/program.S uses at least one unconditional branch instruction
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[b|B](\s|\t)+[a-zA-Z_]'
count: 1
exact: false
- docs/report.md:
- description: docs/report.md answers all questions
category: Documentation
check: MatchFileFragment
options:
fragment: "TODO"
count: 0
exact: true