To perform based, indexed, or based-indexed indirection with a displacement, use the BY, WO, and DW operators with addition.
MASM Expression | CodeView Equivalent |
BYTE PTR [di+6] | BY di+6 |
BYTE PTR Test[bx] | BY &Test+bx |
WORD PTR [si][bp+6] | WO si+bp+6 |
DWORD PTR [bx][si] | DW bx+si |