diff --git a/test/MC/Disassembler/ARM/thumb1.txt b/test/MC/Disassembler/ARM/thumb1.txt new file mode 100644 index 00000000000..81a7bd6f867 --- /dev/null +++ b/test/MC/Disassembler/ARM/thumb1.txt @@ -0,0 +1,30 @@ +# RUN: llvm-mc -triple=thumbv6-apple-darwin -disassemble < %s | FileCheck %s + +#------------------------------------------------------------------------------ +# ADC (register) +#------------------------------------------------------------------------------ +# CHECK: adcs r4, r6 + +0x74 0x41 + + +#------------------------------------------------------------------------------ +# ADD (immediate) +#------------------------------------------------------------------------------ +# CHECK: adds r1, r2, #3 +# CHECK: adds r2, r2, #3 +# CHECK: adds r2, #8 + +0xd1 0x1c +0xd2 0x1c +0x08 0x32 + + +#------------------------------------------------------------------------------ +# ADD (register) +#------------------------------------------------------------------------------ +# CHECK: adds r1, r2, r3 +# CHECK: add r2, r8 + +0xd1 0x18 +0x42 0x44