Difference between revisions of "CSC103 Homework 4 2012"

From dftwiki3
Jump to: navigation, search
(Problem #1)
Line 2: Line 2:
 
----
 
----
 
<br />
 
<br />
<bluebox>This assignment is optional.  You will not be penalized if you do not submit a solution for it.  But if you do this assignment, its grade can be used to replace the lowest grade you will have received on an prior or future assignment.  If the grade you get on this assignment is the lowest of all assignments, then it will not count for anything.
+
<bluebox>This assignment is '''optional'''.  You will not be penalized if you do not submit a solution for it.  But if you do this assignment, its grade can be used to replace the lowest grade you will have received on an prior or future assignment.  If the grade you get on this assignment is the lowest of all assignments, then it will not count for anything.
 +
<br />
 +
You '''cannot''' work on this assignment in a group.  You have to work on it individually, by yourself.
 
</bluebox>
 
</bluebox>
  

Revision as of 16:50, 22 February 2012

--D. Thiebaut 16:48, 22 February 2012 (EST)



This assignment is optional. You will not be penalized if you do not submit a solution for it. But if you do this assignment, its grade can be used to replace the lowest grade you will have received on an prior or future assignment. If the grade you get on this assignment is the lowest of all assignments, then it will not count for anything.


You cannot work on this assignment in a group. You have to work on it individually, by yourself.


Problem #1

Write an assembly language program that is similar to the program for Problem 4 of the assembly language lab, but differs in an important detail. Your program should start with var1 and var2 containing 55, and will keep on incrementing var1 (that is adding 1 to it) and decrementing var2 (that is subtracting 1 from 1) until var1 reaches 70 and var2 reaches 60.


Copy/Paste your program into the text editor of your choice, and your name to the sheet of paper, and hand it in class on 2/29/12.