Determine the addressing mode of each operand in the followi

Determine the addressing mode of each operand in the following sub eFax, x move word ptr [esi], FFFF FFFEh move al, byte ptr [ebx]

Solution

a) Register addressing mode

Operand from the register get directly subtracted to x

b) Register indirect addressing mode

About instruction:

This instruction move 32 bit integer representation of FFFF FFFh into the 4 byte starting at the address of esi

C)Based addressing mode

Explanation for instruction:

Byte represents want to fetch a byte from the address

Move a byte to al in ebx register

 Determine the addressing mode of each operand in the following sub eFax, x move word ptr [esi], FFFF FFFEh move al, byte ptr [ebx]Solutiona) Register addressin

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site