TRESSEL Test Plan: Test Files

TRESSEL Documentation > TRESSEL Test Plan > Test Files

Test Files

These are the tests we used and their results.

Test Number Objective Test File Results File Symbol Table File Intermediate File Object File
0 Testing START and END directives. Test0.txt Test0.results.txt Test0.sym.txt Test0.int.txt Test0.obj.txt
1 Testing spelling error of 'start.' Test1.txt Test1.results.txt Test1.sym.txt Test1.int.txt Test1.obj.txt
2 Test word-num and basic accumulator(AC) functions. Test2.txt Test2.results.txt Test2.sym.txt Test2.int.txt Test2.obj.txt
3 Test RESET-LC call. Test3.txt Test3.results.txt Test3.sym.txt Test3.int.txt Test3.obj.txt
4 Test the COMP directive Test4.txt Test4.results.txt Test4.sym.txt Test4.int.txt Test4.obj.txt
5 Testing word-hex and proper conversion. Test5.txt Test5.results.txt Test5.sym.txt Test5.int.txt Test5.obj.txt
6 Testing several word-bin calls. Test6.txt Test6.results.txt Test6.sym.txt Test6.int.txt Test6.obj.txt
7 Testing NOP and HALT calls. Test7.txt Test7.results.txt Test7.sym.txt Test7.int.txt Test7.obj.txt
8 Testing Literal, External, and '*'. Test8.txt Test8.results.txt Test8.sym.txt Test8.int.txt Test8.obj.txt
9 Testing the DEBUG directive and bit value. Test9.txt Test9.results.txt Test9.sym.txt Test9.int.txt Test9.obj.txt
10 Testing miscellaneous Index Register (IR) functions. Test10.txt Test10.results.txt Test10.sym.txt Test10.int.txt Test10.obj.txt
11 Testing the EQU directive. Test11.txt Test11.results.txt Test11.sym.txt Test11.int.txt Test11.obj.txt
12 Testing lines with nothing on it; blank/white spaces. Test12.txt Test12.results.txt Test12.sym.txt Test12.int.txt Test12.obj.txt
13 Testing labels without any instructions or directives. Test13.txt Test13.results.txt Test13.sym.txt Test13.int.txt Test13.obj.txt
14 Testing memory overload (Beyond the 4095 limit). Test14.txt Test14.results.txt Test14.sym.txt Test14.int.txt Test14.obj.txt
15 Tests various accumulator (AC) operations. DaveTest1.txt DaveTest1.results.txt DaveTest1.sym.txt DaveTest1.int.txt DaveTest1.obj.txt
16 Input reading and loop program. Tests various operations. DaveTest2.txt DaveTest2.results.txt DaveTest2.sym.txt DaveTest2.int.txt DaveTest2.obj.txt
17 Huge program, covers a vast array of operations and operands.
Make sure it produces an intermediate file.
Altest1.txt Altest1.results.txt Altest1.sym.txt Altest1.int.txt Altest1.obj.txt
18 Tests all the AC operation calls,
make sure the Intermediate file is correct.
Altest2.txt Altest2.results.txt Altest2.sym.txt Altest2.int.txt Altest2.obj.txt
19 Tests STORE, NOP and HALT operations. Altest3.txt Altest3.results.txt Altest3.sym.txt Altest3.int.txt Altest3.obj.txt
20 Tests LDN-AC and ABS-AC / ADR-COMP.
treeTest.txt treeTest.results.txt treeTest.sym.txt treeTest.int.txt treeTest.obj.txt
21 Tests mnemonic label names, and COMP.
cheeseTest.txt cheeseTest.results.txt cheeseTest.sym.txt cheeseTest.int.txt cheeseTest.obj.txt
22 Tests various WORD calls and their error checking.
catTest.txt catTest.results.txt catTest.sym.txt catTest.int.txt catTest.obj.txt
23 Test the READ instructions and memory storing.
squared.txt squared.results.txt squared.sym.txt squared.int.txt squared.obj.txt
24 Testing memory overflow.
jrod1.txt jrod1.results.txt jrod1.sym.txt jrod1.int.txt jrod1.obj.txt
25 Tests ref-type IARn, ABS, and JMPs.
jrod2.txt jrod2.results.txt jrod2.sym.txt jrod2.int.txt jrod2.obj.txt
26 Testing calls after HALT, and misplacement of comments.
jrod3.txt jrod3.results.txt jrod3.sym.txt jrod3.int.txt jrod3.obj.txt
27 Tests multiple HALTs and JMPs.
jrod4.txt jrod4.results.txt jrod4.sym.txt jrod4.int.txt jrod4.obj.txt
28 Test START  with '-0' Ntest0.txt Ntest0.results.txt Ntest0.sym.txt Ntest0.int.txt Ntest0.obj.txt
29 Test a directive that requires a label; that does not have one.
Ntest1.txt Ntest1.results.txt Ntest1.sym.txt Ntest1.int.txt Ntest1.obj.txt
30 Testing Alt-Start and proper HEADER-RECORD formatting.
Ntest2.txt Ntest2.results.txt Ntest2.sym.txt Ntest2.int.txt Ntest2.obj.txt
31 Test USING/LD-BR without the LC being 0.
Ntest3.txt Ntest3.results.txt Ntest3.sym.txt Ntest3.int.txt Ntest3.obj.txt
32 Test USING with a correct implementation. Ntest4.txt Ntest4.results.txt Ntest4.sym.txt Ntest4.int.txt Ntest4.obj.txt
33 Test for the wrong line of START directive.
Ntest5.txt Ntest5.results.txt Ntest5.sym.txt Ntest5.int.txt Ntest5.obj.txt
34 Test various WORD-NUM calls.
Ntest6.txt Ntest6.results.txt Ntest6.sym.txt Ntest6.int.txt Ntest6.obj.txt
35 Test various WORD-CHR calls. Ntest7.txt Ntest7.results.txt Ntest7.sym.txt Ntest7.int.txt Ntest7.obj.txt
36 Test various WORD-HEX calls. Ntest8.txt Ntest8.results.txt Ntest8.sym.txt Ntest8.int.txt Ntest8.obj.txt
37 Test various WORD-BIN calls. Ntest9.txt Ntest9.results.txt Ntest9.sym.txt Ntest9.int.txt Ntest9.obj.txt
38 Test the DEBUG, Base Register settings, and word-'s'. Ntest10.txt Ntest10.results.txt Ntest10.sym.txt Ntest10.int.txt Ntest10.obj.txt
39 Test NOPs and EQUs.
Ntest11.txt Ntest11.results.txt Ntest11.sym.txt Ntest11.int.txt Ntest11.obj.txt
40 Test mulpiple HALTs with different operands, and mix with numerous NOPs.
Ntest12.txt Ntest12.results.txt Ntest12.sym.txt Ntest12.int.txt Ntest12.obj.txt
41 Test JMP calls. And DISPLAYs.
Ntest13.txt Ntest13.results.txt Ntest13.sym.txt Ntest13.int.txt Ntest13.obj.txt
42 Testing the character size limit of labels (64 characters).
Ntest14.txt Ntest14.results.txt Ntest14.sym.txt Ntest14.int.txt Ntest14.obj.txt
43 A replicated test of the Midterm hand-assembly. 
Midterm.txt Midterm.results.txt Midterm.sym.txt Midterm.int.txt Midterm.obj.txt
44 A final test we created in which every instruction and directive possible is tested. Encompassment of the TRESSEL machine.
TestAll.txt TestAll.results.txt TestAll.sym.txt TestAll.int.txt TestAll.obj.txt
45 Test 1 of Al's Pass Two tests. Big file; tests loops, WRITE-STR, and WORD-CHRs.
P2Altest1.txt P2Altest1.results.txt P2Altest1.sym.txt P2Altest1.int.txt P2Altest1.obj.txt
46 Test 2 of Al's Pass Two tests. Uses BR and has the object code listed in the comments for comparison.
P2Altest2.txt P2Altest2.results.txt P2Altest2.sym.txt P2Altest2.int.txt P2Altest2.obj.txt
47 Test 3 of Al's Pass Two tests. Tests undeclared symbols being used as operands.
P2Altest3.txt P2Altest3.results.txt P2Altest3.sym.txt P2Altest3.int.txt P2Altest3.obj.txt
48 Test 4 of Al's Pass Two tests. Tests label names that are beyond 64 characters
P2Altest4.txt P2Altest4.results.txt P2Altest4.sym.txt P2Altest4.int.txt P2Altest4.obj.txt
49 Test 5 of Al's Pass Two tests. A test of the midterm hand-assembly problem.
P2Altest5.txt P2Altest5.results.txt P2Altest5.sym.txt P2Altest5.int.txt P2Altest5.obj.txt
50 Test 6 of Al's Pass Two tests. Tests memory overflow with the use of SKIP-MEM.
P2Altest6.txt P2Altest6.results.txt P2Altest6.sym.txt P2Altest6.int.txt P2Altest6.obj.txt
51 Test 7 of Al's Pass Two tests. Tests all instances of ADR-COMP and EQU-EXP.
P2Altest7.txt P2Altest7.results.txt P2Altest7.sym.txt P2Altest7.int.txt P2Altest7.obj.txt
52 Test 8 of Al's Pass Two tests. Tests an empty program, with only a START and END called.
P2Altest8.txt P2Altest8.results.txt P2Altest8.sym.txt P2Altest8.int.txt P2Altest8.obj.txt

*If the 'results.txt' file, upon opening, is empty. It simply means that there we no errors.

**Any and all concerns we had with our test files, we handled as we went along testing.  We didn't move on to the next test until we achieved our expected results.


Written by Group 3 of CSE 560 Autumn 2009 5:30 section
Chris Brainerd, Jarrod Freeman, Abe Kim, Abdul Modrokbi, and David Straily
The Ohio State University