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 bld r3, 5 8 bld r1, 1 9 bld r0, 0 10 bld r7, 2 11 12; CHECK: bld r3, 5 ; encoding: [0x35,0xf8] 13; CHECK: bld r1, 1 ; encoding: [0x11,0xf8] 14; CHECK: bld r0, 0 ; encoding: [0x00,0xf8] 15; CHECK: bld r7, 2 ; encoding: [0x72,0xf8] 16 17; CHECK-INST: bld r3, 5 18; CHECK-INST: bld r1, 1 19; CHECK-INST: bld r0, 0 20; CHECK-INST: bld r7, 2 21