Difference between revisions of "CSC231 Homework 6 2017"

From dftwiki3
Jump to: navigation, search
Line 152: Line 152:
 
<br />
 
<br />
 
I have created a program called '''evaluateHw6.sh''' to test your '''hw6.asm''' program.  It will give you some information relative to whether your program is output the correct generations or not.
 
I have created a program called '''evaluateHw6.sh''' to test your '''hw6.asm''' program.  It will give you some information relative to whether your program is output the correct generations or not.
 +
<br />
 +
You may have guessed why this assignment is asking you to write a two-file program.  It is because by doing so, your hw6.asm code can be tested with different initial dish contents, and for different many generations, '''without''' having to change your program.  Only the ''dishArray.inc'' file needs to be changed. 
 +
<br />
 +
This is what the evaluateHw6.sh program does: it makes a copy of your hw6.asm program in a new directory, puts there a different, unknown (to you) dishArray.inc file, assembles and links the two, and run the resulting executable, comparing its output to the output of the solution program.
 +
<br />
 
</onlydft>
 
</onlydft>
 
<br />
 
<br />

Revision as of 20:31, 1 April 2017

--D. Thiebaut (talk) 18:56, 1 April 2017 (EDT)


Game Of Life Without Loop Instructions


For this assignment, you need to write a game of life program in assembly, and the challenge is to implement it without using the loop instruction, using only the cmp instruction and conditional jumps.



...