# RUN: llvm-mc -disassemble -triple m68k %s | FileCheck %s
# CHECK: adda.l %a0, %a1
0xd3 0xc8
# CHECK: sub.w %d3, %d1
0x92 0x43
# CHECK: add.w (56,%a4,%d3), %d2
0xd4 0x74 0x38 0x38
# CHECK: add.w #35172, %d1
0xd2 0x7c 0x89 0x64
# CHECK: add.w (%a5), %d3
0xd6 0x55
# CHECK: add.w (102,%pc,%a4), %d7
0xde 0x7b 0xc8 0x66
# CHECK: add.w (30600,%a4), %d5
0xda 0x6c 0x77 0x88
# CHECK: add.w (5190,%pc), %d1
0xd2 0x7a 0x14 0x46
# CHECK: add.w %d2, (20,%a6,%d5)
0xd5 0x76 0x58 0x14
# CHECK: add.w #5205, (49,%a3,%d7)
0x06 0x73 0x14 0x55 0x78 0x31
# CHECK: add.w %d2, (%a6)
0xd5 0x56
# CHECK: add.w #5378, (%a6)
0x06 0x56 0x15, 0x02
# CHECK: add.w %d2, (5380,%a2)
0xd5 0x6a 0x15 0x04
# CHECK: adda.l (18,%a4,%d1), %a3
0xd7 0xf4 0x18 0x12
# CHECK: adda.l #50402580, %a1
0xd3 0xfc 0x03 0x01 0x15 0x14
# CHECK: adda.l (%a5), %a1
0xd3 0xd5
# CHECK: adda.l (0,%pc,%sp), %sp
0xdf 0xfb 0xf8 0x00
# CHECK: adda.l (5401,%pc), %a5
0xdb 0xfa 0x15 0x19
# CHECK: adda.l %a5, %a4
0xd9 0xcd
# CHECK: add.l (4660,%sp), %d5
0xda 0xaf 0x12 0x34
# CHECK: cmpi.w #769, $3012022
0x0c 0x79 0x03 0x01 0x20 0x22 0x03 0x01
# CHECK: cmpi.w #5416, %d7
0x0c 0x47 0x15 0x28
# CHECK: cmp.w (69,%a2,%a1), %d3
0xb6 0x72 0x98 0x45
# CHECK: cmpi.l #50402614, (51,%a5,%d7)
0x0c 0xb5 0x03 0x01 0x15 0x36 0x78 0x33
# CHECK: cmpi.l #50403411, $1
0x0c 0xb9 0x03 0x01 0x18 0x53 0x00 0x01 0x00 0x00
# CHECK: cmpi.b #64, $15400301
0x0c 0x39 0x00 0x40 0x03 0x01 0x15 0x40
# CHECK: cmp.b %d5, %d7
0xbe 0x05
# CHECK: cmp.w %d1, %d0
0xb0 0x41
# CHECK: neg.w %d0
0x44 0x40
# CHECK: negx.l %a2
0x40 0x8a
# CHECK: or.w (18,%a4,%a0), %d3
0x86 0x74 0x88 0x12
# CHECK: or.w #4149, %d2
0x84 0x7c 0x10 0x35
# CHECK: or.l (%a3), %d4
0x88 0x93
# CHECK: or.l (55,%pc,%a1), %d6
0x8c 0xbb 0x98 0x37
# CHECK: or.l (38967,%a3), %d6
0x8c 0xab 0x98 0x37
# CHECK: or.l %d6, (48,%a4,%a2)
0x8d 0xb4 0xa8 0x30
# CHECK: or.b %d2, %d7
0x8e 0x02
# CHECK: or.b (4163,%a1), %d0
0x80 0x29 0x10 0x43
# CHECK: or.b #16, (3,%a3,%d4)
0x00 0x33 0x00 0x10 0x48 0x03
# CHECK: sub.w %d5, (16,%a3,%a2)
0x9b 0x73 0xa8 0x10
# CHECK: suba.l (85,%a4,%a2), %a0
0x91 0xf4 0xa8 0x55
# CHECK: suba.l %d4, %a1
0x93 0xc4
# CHECK: sub.l #16843009, %d3
0x96 0xbc 0x01 0x01 0x01 0x01
# CHECK: add.w %d0, %d4
0xd8 0x40
# CHECK: add.w %a2, %d3
0xd6 0x4a
# CHECK: add.l %d1, %d2
0xd4 0x81
# CHECK: add.l %a0, %d1
0xd2 0x88
# CHECK: sub.w %a5, %d1
0x92 0x4d
# CHECK: sub.w %d2, %d4
0x98 0x42
# CHECK: sub.l %d2, %d5
0x9a 0x82
# CHECK: sub.l %a2, %d5
0x9a 0x8a
# CHECK: subx.w %d2, %d4
0x99 0x42
# CHECK: subx.l %d5, %d3
0x97 0x85
# CHECK: suba.l %d4, %a0
0x91 0xc4
# CHECK: suba.l #12576, %a2
0x95 0xfc 0x00 0x00 0x31 0x20
# CHECK: suba.l (%sp), %a0
0x91 0xd7
# CHECK: and.b (256,%a2), %d0
0xc0 0x2a 0x01 0x00
# CHECK: and.w %d0, %d7
0xce 0x40
# CHECK: and.w %a1, %d3
0xc6 0x49
# CHECK: and.w (32,%a0,%d1), %d1
0xc2 0x70 0x18 0x20
# CHECK: and.w (288,%a2), %d4
0xc8 0x6a 0x01 0x20
# CHECK: and.l %d1, (49,%a0,%sp)
0xc3 0xb0 0xf8 0x31
# CHECK: and.l #100, (1,%a1,%d4)
0x02 0xb1 0x00 0x00 0x00 0x64 0x48 0x01
# CHECK: and.l %d0, %d1
0xc2 0x80
# CHECK: and.l %a1, %d2
0xc4 0x89
# CHECK: or.b #7, (%a1)
0x00 0x11 0x00 0x07
# CHECK: or.w %d2, %d5
0x8a 0x42
# CHECK: or.w %a0, %d2
0x84 0x48
# CHECK: or.w #0, (0,%a2,%a0)
0x00 0x72 0x00 0x00 0x88 0x00
# CHECK: or.l (15,%pc,%a1), %d0
0x80 0xbb 0x98 0x0f
# CHECK: or.l %a0, %d0
0x80 0x88
# CHECK: or.l %d1, %d6
0x8c 0x81