I am writing on MASM and need help with my code to calculate basic arithmetic. I am new to assembly language so I am lost on inputting and having a workable code.
Here is the prompt, and my code is available as well. Revisions to be made.
Program Description
Write and test a MASM program to perform the following tasks:
- Display your name and program title on the output screen.
- Display instructions for the user.
- Prompt the user to enter three numbers (A, B, C) in descending order.
- Calculate and display the sum and differences: (A+B, A-B, A+C, A-C, B+C, B-C, A+B+C).
- Display a closing message.
Program Requirements
- The main procedure must be divided into logical sections:
- introduction
- get the data
- calculate the required values
- display the results
- say goodbye
- The results of calculations must be stored in named variables before being displayed.


0 comments