Difference between revisions of "CSC231 Homework 6 2017"

From dftwiki3
Jump to: navigation, search
Line 153: Line 153:
 
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 />
 
<br />
 +
Just type:
 +
 +
evaluateHw6.sh
 +
 +
on the command line to test your program.
 +
 
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.   
 
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 />
 
<br />

Revision as of 20:32, 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.



...