diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-09-27 16:39:16 -0700 |
---|---|---|
committer | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-20 11:29:41 -0800 |
commit | 9148fb5951ca9374a7fba4c586cac5e37562e019 (patch) | |
tree | 998de0e794bbcf8b7fe9585d46342cbb2e9a9672 /test | |
parent | 9f4706ff457ebd20f8f06e57140203aa58238196 (diff) | |
download | nasm-9148fb5951ca9374a7fba4c586cac5e37562e019.tar.gz nasm-9148fb5951ca9374a7fba4c586cac5e37562e019.tar.bz2 nasm-9148fb5951ca9374a7fba4c586cac5e37562e019.zip |
parser: support split base,index effective address
Mostly intended for the "mib" expressions in BNDLDX/BNDSTX.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/splitea.asm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/splitea.asm b/test/splitea.asm new file mode 100644 index 0000000..a2d980b --- /dev/null +++ b/test/splitea.asm @@ -0,0 +1,11 @@ + bits 32 + + mov eax,[eax] + mov eax,[eax+ecx] + mov eax,[eax+ecx*4] + mov eax,[eax+ecx*4+8] + + mov eax,[eax] + mov eax,[eax,ecx] + mov eax,[eax,ecx*4] + mov eax,[eax+8,ecx*4] |