UMBC CMSC211

Project 1 Due: 26 Feb

Requirements Specfication

Write a program that will as the user for the user's age. Then tell the user how old the user will be in ten years. Finally, tell the user what the age will be when it is doubled.

In both cases, use the ADD instruction. You must assume that the age will be an integer. Additionally, make sure that the age is in the range of 14 and 65, inclusive. If it is not, then exit the program.

Name the source code file: proj1.asm

Submission

Email the source file (the .asm file) to the grader at rrizza1@gl.umbc.edu.

Example Output

In the following example, the program displays what is in Blue and the user types what is in Red.

Enter the sales for January:  What is your age:  34
In ten years, you will be 44.
Your age doubled is 68.

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)


UMBC CMSC104 CSEE | CMSC104 | Lectures