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.