This assignment is intended to introduce the software tools used in this Pentium section of CS/ECE 354.
This assignment requires you to use the software tool Visual C++ to write and execute simple SASM programs. There are two SASM programs involved in this assignment. The first program (and its associated files) are provided for you. The second program is one that you write and turn in.
For the first program, follow the directions for Executing Your First SASM Program in programming advice. Do everything necessary to execute this program.
The second program you are to write.
Write a SASM program that calculates and prints out the greatest
common divisor of two positive integers.
The two positive integers are to be declared in the
.data
section of the program.
A sample execution of the program might look like
The greatest common divisor of 12 and 16 is 4.
int1 dd 12
int2 dd 16
The procedure for turning in this first program has not yet been determined. Listen in class, and skim the cs354-2 home page on the web for directions on how to turn in this assignment.