Professional Documents
Culture Documents
APT2022-A
a) The following is a section of an assembly language program. Complete the missing entries
in the assembly language program and write it down. Also, record the contents of all the
MOV AX, 2AH ; …………………………………………………. ………………… ; Load the 16-bit data 008EH to
register AX MOV CX, 05H ; ………………………………………………. ……………………..; Transfer content of
register AX to SI MOV DI, BX ; ………………………………………………. ……………… ; Transfer content of
register CX to BP END ; ……………………………………………….
b) Suppose that DS=1200H, BX=0300H, LIST=0450H, and SI=0500H. Given that physical
address equals to effective address plus offset address, determine the address accessed by
I. MOV LIST[SI], DX
(move the contents of memory location sI
addressed by the register DX to the register LIST SI)
II. MOV CX, [BX+SI]
(move the contents of memory location
addressed by the register BX+SI to the register CX)
c) Using examples of your own, explain the following types of addressing modes supported
R1 = R1 +M[R2]
R2 = R2 + d