Use type casts or the BY, WO, and DW operators with the address-of operator (&) to replace the assembly-language PTR operator.
MASM expression | Debugger expression |
---|---|
BYTE PTR Var | BY &Var |
*(unsigned char*) | &Var |
WORD PTR Var | WO &Var |
DWORD PTR Var | DW &Var |
*(unsigned long*) | &Var |