llvm-for-llvmta/test/MC/Disassembler/ARM/hex-immediates.txt

12 lines
326 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 --disassemble --print-imm-hex < %s | FileCheck %s
# CHECK: ldr r4, [pc, #0x20]
0x08 0x4c
# CHECK: sub sp, #0x84
0xa1 0xb0
# CHECK: ldr r0, [sp, #0xb4]
0x2d 0x98
# CHECK: str.w r8, [sp, #0xb4]
0xcd 0xf8 0xb4 0x80
# CHECK: ldr.w r8, [sp, #0xb4]
0xdd 0xf8 0xb4 0x80