COMP1521 – 22T3 Outline Timetable Forum Assignment 1 Assignment 2
Assessment Testing When )oL. :hint your program is working, you can use autotest to run some simple automated tests:
S 1521 autotest slips< mipsc.c (optionaLLy: any extra .c or .h fetes)
1521 autotest will not test everything. Always do your own testing.
Automarking will be run by the lecturer after the submission deadline. using a superset of tests to those autotest runs for you.
WARMING:
Whilst we can detect when errors have occurred, it is often substantially harder to automatically explain what that error was. The errors from 1521 autotest may be less clear than in labs. You will need to do your own debugging and analysis.
Remember that you can ahvays compaire your code to the reference implement.
S etc mipaC.0 -o mipSC ./nipsc exavoles/42.he5 I tee siosc.out 0: 052004002A addl SC. SO, 42 a» $4=42 1: 0520020001 addi $2. SO, 1 a» $2 1 2: exeeeeeeec syscall >›, syscall 1 <<< 42 3: 052004000A addi $4, SO, 10 >›, $4 10 4: 0520020080 addi $2, SO, 11 a» $2 11 5: 0x00000000 syscall ›), syscall 11 <<<
1521 mipsc exaroples/42.he5 I tee reference.out 0: 0520040024 aaai 54, 50, 42 >» 1.4 – 42 1: 0520020001 addi 32, 58, 1 $2 – 1 2: 0500280000 syscall >›, syscall 1 cc< 42 3: 0520044004 addi $4, SO, 10 a» $4 – 10 4: 05283200e0 addi $2, SO, 11 a» $2 . 11 5: 0x00000000 syscall >>> syscall 11 <<<
S diff -s nipSC.Out reference.aut riles nlpsc.out and reference.out are identical
Submission When you are finished working on the assignment, you must submit your work by running give: S give c51521 aSS2_n/pSC n/pSC.0 fopttonaLLy: any extra .c or .1 fetes) You must run give before Week 11 Monday 11:59:59 (midday) to obtain the marks for this assignment. Note that this is an
Aims The Assignment Reference implementation MIPS Instruction Subset System Calls Registers Halting Converting MIPS Assembler Instruction codes Examples Getting Started Assumptions and Claribbanons Change Log Assessment