aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/x86_instructions.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/x86_instructions.s')
-rw-r--r--test/MC/AsmParser/x86_instructions.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/AsmParser/x86_instructions.s b/test/MC/AsmParser/x86_instructions.s
new file mode 100644
index 0000000..71f98f0
--- /dev/null
+++ b/test/MC/AsmParser/x86_instructions.s
@@ -0,0 +1,5 @@
+// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
+
+# Simple instructions
+ subb %al, %al
+# CHECK: MCInst(opcode=1831, operands=[reg:2, reg:0, reg:2])