Write an assembly program that: 1. Accepts two (two decimal digits) numbers from the keyboard. 2. Calculate addition, subtraction, multiplication, and division of these numbers. 3. Clear the screen...

Write an assembly program that: 1. Accepts two (two decimal digits) numbers from the keyboard. 2. Calculate addition, subtraction, multiplication, and division of these numbers. 3. Clear the screen and set the cursor to the center of the output screen. 4. Use the  DOS interrupt subroutines to output the results as: "Num1 + Num2 = " <> "Num1 - Num2 = " <> "Num1 * Num2 = "<> "After division, Q = " <> "After division, R = "<> 5. You should use two procedures for printing (string and single character), and one procedure to read the entered numbers from the keyboard. While you test your code to make the output screenshots, you should choose both of your numbers to be the first four nonzero digits from the right of your university number, just like the following examples: 320190107058 -> [Num1 = 58] and [Num2 = 17] 320180125003 -> [Num1 = 53] and [Num2 = 12] 320200100280 -> [Num1 = 28] and [Num2 = 21]

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here