CSC103 Homework 4 2012

From dftwiki3
Revision as of 17:49, 22 February 2012 by Thiebaut (talk | contribs) (Problem #1)
Jump to: navigation, search

--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.


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.