0% found this document useful (0 votes)
10 views4 pages

Assembly Language Program Outputs

The document provides instructions for an assignment due on November 4th requiring reading of all material covered or not covered in class. It also includes 9 questions asking for the output of various assembly language programs using operations like MOV, INT 21H, CMP, JNZ, ADD, and JMP.

Uploaded by

abdullah
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Assembly Language Program Outputs

The document provides instructions for an assignment due on November 4th requiring reading of all material covered or not covered in class. It also includes 9 questions asking for the output of various assembly language programs using operations like MOV, INT 21H, CMP, JNZ, ADD, and JMP.

Uploaded by

abdullah
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

COAL ASSIIGNMENT 2

. Due date 4 NOV, 2019 Monday during Lab


. Book Reading is compulsory Read
everything I have either covered in class or
not
. Quiz no 2 due date 7 Nov 2019 Thursday
Q4. What is the output of the following program?
MOV CL,4
ABC: MOV AH,2
MOV DL,'%'
INT 21H
DEC CL
JNZ ABC

Q5. What is the output of the following program?


MOV CL,80H
ADD CL,0FFH
JC EFG

ABC:

MOV AH,2
MOV DL,'%'
INT 21H

EFG:

MOV AH,2
MOV DL,'#'
INT 21H
Q6. What is the output of the following program?
MOV CL,0H
W1: CMP CL,10H
JLE ABC
JMP EFG

ABC:

MOV AH,2
MOV DL,'%'
INT 21H
ADD CL,4
JMP W1
EFG:
Q7. What is the output of the following program?
MOV CL,7Fh
CMP CL, -20
JG ABC
JMP EFG
ABC: MOV AH,2
MOV DL,'%'
INT 21H
EFG:
Q8. What is the output of the following program?
MOV CL,7Fh
CMP CL, -20
JA ABC
JMP EFG

ABC: MOV AH,2


MOV DL,'%'
INT 21H
EFG:

Q9.

You might also like