1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s 2; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck -check-prefix=CHECK-INST %s 3 4 5foo: 6 7 sbic 4, 3 8 sbic 6, 2 9 sbic 16, 5 10 sbic 0, 0 11 sbic 31, 0 12 sbic 0, 7 13 sbic 31, 7 14 15 sbic foo+1, 1 16 17; CHECK: sbic 4, 3 ; encoding: [0x23,0x99] 18; CHECK: sbic 6, 2 ; encoding: [0x32,0x99] 19; CHECK: sbic 16, 5 ; encoding: [0x85,0x99] 20; CHECK: sbic 0, 0 ; encoding: [0x00,0x99] 21; CHECK: sbic 31, 0 ; encoding: [0xf8,0x99] 22; CHECK: sbic 0, 7 ; encoding: [0x07,0x99] 23; CHECK: sbic 31, 7 ; encoding: [0xff,0x99] 24 25; CHECK: sbic foo+1, 1 ; encoding: [0bAAAAA001,0x99] 26; CHECK: ; fixup A - offset: 0, value: foo+1, kind: fixup_port5 27 28; CHECK-INST: sbic 4, 3 29; CHECK-INST: sbic 6, 2 30; CHECK-INST: sbic 16, 5 31; CHECK-INST: sbic 0, 0 32; CHECK-INST: sbic 31, 0 33; CHECK-INST: sbic 0, 7 34; CHECK-INST: sbic 31, 7 35 36; CHECK-INST: sbic 0, 1 37