Page 1 of 1

Please write the code in a way that I can copy. I do not want pictures or written on paper Write an assembly program tha

Posted: Tue Sep 07, 2021 7:18 am
by answerhappygod
Please write the code in a way that I can copy. I do not want
pictures or written on paper
Write an assembly program that: (emu8086)
1. Accepts two (single decimal digit) 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 = " <<addition result>>
"Num1 - Num2 = " <<subtraction result>>
"Num1 * Num2 = "<<multiplication result>>
"After division, Q = " <<qoutient value>>
"After division, R = " <<remainder value>>
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 two nonzero
digits from the right of your university number, just like the
following examples:
320190107058 -> [Num1 = 8] and [Num2 = 5]
320180125003 -> [Num1 = 3] and [Num2 = 5]
320200100280 -> [Num1 = 8] and [Num2 = 2]
Any two or more identical codes will take zero !!!
Submission: **.asm code and at least two screenshots for the
output screen before clearing the screen and after print out the
results!!!