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




Write an assembly program that:


1.Accepts two (single decimal digit) numbers from the keyboard.


2. Calculateaddition,subtraction,multiplication, anddivisionof these numbers.


3.Clear the screen andset the cursor to thecenter of the output screen.


4. Use the  DOS interrupt subroutines tooutput 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.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here