nasm/test/splitea.asm
H. Peter Anvin 9148fb5951 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>
2013-11-20 11:29:41 -08:00

12 lines
167 B
NASM

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]