Question - 1:: A. Mov Ax, (bx+65) B. Mov BX, (Ax+35) C. Mov Ax, (Bx+label) D. Mov BX, (Label+ax) E. Mov BX, (Ax+si)
Question - 1:: A. Mov Ax, (bx+65) B. Mov BX, (Ax+35) C. Mov Ax, (Bx+label) D. Mov BX, (Label+ax) E. Mov BX, (Ax+si)
Question_2: [marks: 5]
Calculate the physical memory address generated by the following segment:offset pairs (both are
hexadecimal values).
a. 0000:FFFF=0FFFF b. 0100:0100=01100
c. DEF8:2222 = E11A2 d. 543F:3254=57644
e. FFFF:AAAA=10AA9A =0AA9A wrap
around
Question_3:
Write the given program, assemble it and then analyze it in Debugger
[marks: 10]
[org 0x0100]
mov al, [num1]
mov bl, [num1+1]
mov bl, [num1+2]
add al, bl
mov ax, 0x4c00
int 0x21
After analysis you have to provide all information that is asked under:
You have to fill the table given below and write the values of al,bl and IP registers before
and after execution of an instruction as you analyze in debugger. You also have to give
reason that why the value of al,bl and IP registers change after a particular instruction.
Give reason in corresponding column.
Address of num1=0117
Address of num1+1=0118
Address of num1+2=0119
Address of num1+3=011A
Value of num1+3(at end of program) =?