Using the
xComputer,
create two assembly language programs that complete the following tasks:
- Write a program that will perform the following operation: A + B - C. Meaning,
add two integers, and then subtract a third number from their sum
- Write a program that will multiply two positive integers
The following must be completed to receive full credit:
- Save your source code by using "Disassemble->Save To File" from
xComputer. You may also copy and paste into notepad if you are using
the Applet form of xComputer that cannot save files to your disk.
- Place two files Project5A.dat and Project5B.dat in the Oncourse Drop Box by 11PM on the due date
Programming Notes:
- You may use the lod-c or lod to load any input numbers into your
programs.
If you use lod, please specify the memory locations for
the two numbers on your hardcopy.
- The result of each of your programs should be stored in the Accumulator when
the program terminates
- Test your programs with several different numbers
Other Notes:
- A list of all instructions for xComputer can be found
here
- The
xComputer
page also has information of using xComputer