aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/X86/intel-syntax-32.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/X86/intel-syntax-32.txt')
-rw-r--r--test/MC/Disassembler/X86/intel-syntax-32.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/intel-syntax-32.txt b/test/MC/Disassembler/X86/intel-syntax-32.txt
index 2298823..66c87b8 100644
--- a/test/MC/Disassembler/X86/intel-syntax-32.txt
+++ b/test/MC/Disassembler/X86/intel-syntax-32.txt
@@ -29,3 +29,15 @@
# CHECK: mov dword ptr [878082192], eax
0xa3 0x90 0x78 0x56 0x34
+
+# CHECK: lea cx, [si + 4]
+0x67 0x66 0x8d 0x4c 0x04
+
+# CHECK: lea ecx, [si + 4]
+0x67 0x8d 0x4c 0x04
+
+# CHECK: lea cx, [esp + 4]
+0x66 0x8d 0x4c 0x24 0x04
+
+# CHECK: lea ecx, [esp + 4]
+0x8d 0x4c 0x24 0x04