Identify the addressing mode in each of these instructions I

Identify the addressing mode in each of these instructions (INTEL processor): MOV AX, BX MOV BYTE PTR [2000], 5 MOV AH, 7 MOV AX, [SI][BP] MOV [BX + SI + 8], AL. Find the contents of indicated registers of memory after executions of the following program using INTEL processor. Mov ax, 1750 Mov dx, ax Mov si, 0100 Mov di, 200 Mov cx,0009 Inc cx Inc si Mov al, [si+100H] 1750:0100 10 20 1750:0200 4 00 AX- CX- DS- SI- DI-

Solution

4Q)   

MOV AX,BX ------------> Direct Addressing Mode

MOV BYTE PTR[200],5 --------->Register Indirect Addressing Mode

MOV AH,7 -------------------->Displacement Addressing Mode

MOV AX.[SI][BP]---------------->Base Plus Index Addressing Mode

MOV [BX+SI+8],ALBase Relative Plus Index Addressing Mode

5Q)

AX= 1750

CX=0010

DS= 1750

SI= 0101

DI= 200

 Identify the addressing mode in each of these instructions (INTEL processor): MOV AX, BX MOV BYTE PTR [2000], 5 MOV AH, 7 MOV AX, [SI][BP] MOV [BX + SI + 8], A

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site