To perform based, indexed, or based-indexed indirect mode operations with a displacement, use the BY, WO, and DW operators with addition.
MASM expression | Debugger expression |
---|---|
BYTE PTR [edi+6] | BY edi+6 |
BYTE PTR Test[ebx] | BY &Test+ebx |
WORD PTR [esi][ebp+6] | WO esi+ebp+6 |
DWORD PTR [ebx][esi] | DW ebx+esi |