Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How to use 8086 assembly language to add two 3-digits using int 80h. 1. get num1

ID: 3771499 • Letter: H

Question

How to use 8086 assembly language to add two 3-digits using int 80h.

1. get num1 from user

2. get num2 from user

3. convert num1(string)to integer

4. convert num2(string)to integer

5. add num1 and num2

6. convert sum to string data

7. display the result(use int 80h)

Important: don't use int 21h.... MUST use int 80h.....THANKS FOR THE HELP

The format should look something like this:

segment .data

segment .bss

section .text

The output should look something like this:

Please enter the first number:"XXX"

Please enter the second number:"XXX"

The sum is:"XXX"

Explanation / Answer

ADDITION:
MOV AX,05
MOV BX,03
ADD AX,BX
MOV SI,8000
MOV [SI],AX
INT 03

SUBTRACTION:
MOV AX,05
MOV BX,03
SUB AX,BX
MOV SI,8000
MOV [SI],AX
INT 03

MULTIPLICATION:
MOV AX,05
MOV BX,03
MUL BX
MOV SI,8000
MOV [SI],AX
INT 03

DIVISION:
MOV AX,05
MOV BX,03
DIV BX
MOV SI,8000
MOV [SI],AX
INT 03

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote