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 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](/WebImages/40/determine-the-addressing-mode-of-each-operand-in-the-followi-1121670-1761597061-0.webp)