Q1) What is the output of the following Assembly Program: Process: Compile with the MASM compiler and check the output i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Q1) What is the output of the following Assembly Program: Process: Compile with the MASM compiler and check the output i

Post by answerhappygod »

Q1) What is the output of the following Assembly Program:
Process: Compile with the MASM compiler and check the output in DOSBOX.
MODEL SMALL
IDATA
CODE
MAIN PROC
MOV AX, @DATA
MOV DX,AX
MOV AL, 20
MOV CL,10
MOV AH,00
DIV CL
MOV DX,AX
ADD DX,3030h
MOV AH,02H
INT 21H
MOV DL,DH
INT 21H
MOV AX, 4COOH
INT 21H
MAIN ENDP
END MAIN
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply