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

Write an assembly program to multiply two decimal numbers and print the output o

ID: 1839318 • Letter: W

Question

Write an assembly program to multiply two decimal numbers and print the output on the standard output as “The product is <product result>. Use Easy86k to write the program and produce the results. Show the results as screenshots of ASM file, OBJ file, LST file, HEX file and Output window for numbers 10 and 2.
Write an assembly program to multiply two decimal numbers and print the output on the standard output as “The product is <product result>. Use Easy86k to write the program and produce the results. Show the results as screenshots of ASM file, OBJ file, LST file, HEX file and Output window for numbers 10 and 2.

Explanation / Answer

DATA SEGMENT NUM1 DB ? NUM2 DB ? RESULT DB ? MSG1 DB 10,13,"ENTER 1st NUMBER TO MULTIPLY : $" MSG2 DB 10,13,"ENTER 2nd NUMBER TO MULTIPLY : $" MSG3 DB 10,13,"THE PRODUCT IS : $" ENDS CODE SEGMENT ASSUME DS:DATA CS:CODE START: MOV AX,DATA MOV DS,AX LEA DX,MSG1 MOV AH,9 INT 21H MOV AH,1 INT 21H SUB AL,30H MOV NUM1,AL LEA DX,MSG2 MOV AH,9 INT 21H MOV AH,1 INT 21H SUB AL,30H MOV NUM2,AL MUL NUM1 MOV RESULT,AL AAM ADD AH,30H ADD AL,30H MOV BX,AX LEA DX,MSG3 MOV AH,9 INT 21H MOV AH,2 MOV DL,BH INT 21H MOV AH,2 MOV DL,BL INT 21H MOV AH,4CH INT 21H ENDS END START

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