Professional Documents
Culture Documents
Mid Question - Sec 09 Set 01 and 02
Mid Question - Sec 09 Set 01 and 02
Q. 1 Write a core Assembly Language code to check the similarity between the two 5
memory locations called FONT and DATA of 100-byte size each.
Q. 2 Suppose before the CALL instruction within a code the registers has following 5
data:
SS=1850H, SP=0003H, CS=569AH, IP=1005H, AX =10A2H, CX=0050H
and DX=5600H.
Draw a schematic diagram to illustrate what will happen after the CALL
instruction executes. Note that CALL instruction also stores the value of
registers AX, DX and CX into the stack segment as they are being used in the
called procedure.
Q. 4 Suppose AX= 0A65H, BX= 5E50H. find the value of different registers after 5
execution of the following instructions:
I) MUL BL
II) IDIV BH
Q. 1 Write a core Assembly Language code to check the similarity between the two 5
memory locations called TABLE and FILE of 60-byte size each.
Q. 2 Suppose before the CALL instruction within a code the registers has following 5
data:
SS=1580H, SP=A003H, CS=869AH, IP=10A5H, AX =10B2H, CX=0A50H
and DX=560BH.
Draw a schematic diagram to illustrate what will happen after the CALL
instruction executes. Note that CALL instruction also stores the value of
registers AX, DX and CX into the stack segment as they are being used in the
called procedure.
Q. 4 Suppose AX= 0A65H, BX= 5E50H. find the value of different registers after 5
execution of the following instructions:
I) IMUL BL
II) IDIV BH