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 [200], 5 MOV AH, 7 MOV AX, [SI][BP] MOV [BX+SI+8], AL Find the contents of indicated registers or memory after execution of the following program using INTEL, processor. Mov ax, 1750 Mov ds, 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

a) MOV AX, BX - Register addressing mode   

copies BX into AX

b) MOV AH, 7 - Immediate addressing mode

Here, the source operand is constant

c) MOV AX, [SI][BP] - Register Relative addressing mode

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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site