Specifying the Size of a CALL or JMP Instruction in MASM (50405)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.0
- Microsoft Macro Assembler (MASM) 5.1
- Microsoft Macro Assembler (MASM) 5.1a
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q50405 SUMMARY
The PTR operator can be used to specify the size of a register
indirect operand for a CALL or JMP instruction. However, the
qualifying operators are not NEAR and FAR, but WORD and DWORD.
For example, to make a near jump to label xxx, use
JMP WORD PTR xxx
Modification Type: | Minor | Last Reviewed: | 10/17/2003 |
---|
Keywords: | KB50405 |
---|
|