diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-08-14 15:24:56 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-08-14 15:44:50 -0700 |
commit | 8981724f176ad18aaeac570faa5a26cc28bfef08 (patch) | |
tree | eb4c77810945791e9ee1cd3fa37b6ddd87c31a0e /asm/tokens.dat | |
parent | 02b60ddd1c86ba6d932301f4ab205027beafc688 (diff) | |
download | nasm-8981724f176ad18aaeac570faa5a26cc28bfef08.tar.gz |
masm.mac, parser: VERY limited MASM emulation package
Very limited MASM emulation.
The parser has been extended to emulate the PTR keyword if the
corresponding macro is enabled, and the syntax displacement[index] for
memory operations is now recognized.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'asm/tokens.dat')
-rw-r--r-- | asm/tokens.dat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/tokens.dat b/asm/tokens.dat index 9f1513c4..d75640cf 100644 --- a/asm/tokens.dat +++ b/asm/tokens.dat @@ -125,6 +125,10 @@ __ilog2c__ seg wrt +% TOKEN_{__*__}, 0, 0, 0 +__masm_ptr__ +__masm_flat__ + % TOKEN_DECORATOR, 0, TFLAG_BRC | TFLAG_BRDCAST , BRC_1TO{1to*} 1to2 1to4 |