nasm/test/ptr.asm
H. Peter Anvin 69550eac55 Specifically if we encounter the PTR keyword
Issue a specific suppressible warning if we encounter the PTR keyword.
This usually indicates someone mistakenly using MASM syntax in NASM.

This introduces a generic infrastructure for issuing warnings for such
keywords.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2016-05-09 12:05:56 -07:00

5 lines
90 B
NASM

;; This should warn but still assemble, as the code is correct
mov eax,dword ptr
ptr: