Project 1 Due: 27 Sep
Requirements Specfication
Your program must do the following:
- Prompt the user for two decimal signed numbers (16-bit, non-zero).
- Add the two numbers and display the result.
- Subtract the second number from the first and display the result.
- Multiply the two numbers and display the answer.
- Divide the smaller number into the larger number and display the
quotient and remainder.
Name the source code file: proj1.asm
Submission
Email the source file (the .asm file) to the TA at
dingli1@umbc.edu.
Example Output
In the following example, the program displays what is in Blue and the
user types what is in Red.
Enter a signed, non-zero number: 34
Enter a signed, non-zero number: 1
34 + 1 = 35
34 - 1 = 33
34 * 1 = 34
34 / 1 = 34 remainder 0
Program Header Comment Block
Use the following comment block at the beginning of your source code:
;; Filename: proj1.asm
;; Name: Ima Student
;; SSAN: 6789
;; Date: 3 Feb 2001
;; Course: CMSC-211
;; Description: (Your psuedocode goes here. Must be detailed)
;; Notes: (As needed, such has how to compile)
P.S. It must be your name and the last four digits of your SSAN!