Sheng cf0b6df6db [M68k][Disassembler] Adopt the new variable length decoder
This is an example usage of D120958.

After these patches are landed, we can strip off the codebeads officially.

Reviewed By: myhsu

Differential Revision: https://reviews.llvm.org/D120960
2022-05-15 08:44:58 +08:00

23 lines
380 B
Plaintext

# RUN: llvm-mc -disassemble -triple m68k %s | FileCheck %s
# CHECK: btst %d3, %a0
0x07 0x08
# CHECK: btst %d5, -(%a2)
0x0b 0x22
# CHECK: btst #20, -(%a4)
0x08 0x24 0x00 0x14
# CHECK: btst %d5, (79,%sp,%a0)
0x0b 0x37 0x88 0x4f
# CHECK: btst %d4, (%a2)+
0x09 0x1a
# CHECK: btst %d6, (8217,%pc)
0x0d 0x3a 0x20 0x19
# CHECK: btst #20, %d3
0x08 0x03 0x00 0x14