Project 1 Due: 13 March
Requirements Specfication
Write an assembly language program that will do the following:
- Print your name and SSAN
- Prompt the user to enter a signed decimal number
- Use the add instruction to double the user's number and print the results
- Use the multiply insturction to triple the user's number and print the results
- Print the negated version of the user's number.
Sample Output
My name is Bill Gates and my SSAN s 666-66-6666
Enter a signed number: 123
The double is: 246
The triple is: 369
The negated version is: -123
The part in red is what is typed in when the program executes. The
green part is what your program will compute and display. This will
change if the part in red is changed at runtime.
Program Header Comment Block
Use the following comment block at the beginning of your source code:
;; Filename: proj4.asm
;; Name: Ima Student
;; SSAN: 6789
;; Date: 3 Dec 2001
;; Course: CMSC-211
;; Description:
;; Analysis:
;; Input:
;; Output:
;; Formulas:
;; Constraints:
;; Assumpitons:
;; Design: (Your psuedocode goes here. Must be detailed)
;; Notes: (As needed, such has how to assemble.)