1# RUN: llvm-mc -triple=arc -disassemble %s | FileCheck %s 2 3# CHECK: mov %r0, -1 40x8a 0x20 0xff 0x0f 5 6# 32767 == 0x7fff 7# CHECK: mov %r4, 32767 80x0a 0x24 0x80 0x0f 0x00 0x00 0xff 0x7f 9 10# CHECK: mov.eq %r2, %r6 110xca 0x22 0x81 0x01 12 13# CHECK: mov %r13, %r2 140x0a 0x25 0x80 0x10 15 16# CHECK: mov %r1, 20 170x4a 0x21 0x00 0x05 18 19# CHECK: st.aw %fp, [%sp,-4] 200xfc 0x1c 0xc8 0xb6 21 22# CHECK: ld.ab %fp, [%sp,4] 230x04 0x14 0x1b 0x34 24 25# CHECK: bl -2028 260x16 0x08 0xcf 0xff 27 28# CHECK: cmp %r13, %r10 290x0c 0x25 0x80 0x92 30 31# CHECK: cmp %r14, 0 320x4c 0x26 0x00 0x90 33 34# CHECK: cmp %r23, 1 350x4c 0x27 0x40 0xa0 36 37# CHECK: jl [%r21] 380x22 0x20 0x40 0x05 39 40# CHECK: jl 12345 410x22 0x20 0x80 0x0f 0x00 0x00 0x39 0x30 42 43# CHECK: j [%r3] 440x20 0x20 0xc0 0x00 45 46# CHECK: j 12345 470x20 0x20 0x80 0x0f 0x00 0x00 0x39 0x30 48 49# CHECK: seteq %r3, %fp, %r1 500x38 0x23 0x43 0x30 51 52# CHECK: seteq %r3, %fp, 17 530x78 0x23 0x43 0x34 54 55# CHECK: seteq %fp, %fp, -1 560xb8 0x23 0xff 0x3f 57