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 ser r16 7 ser r31 8 ser r27 9 ser r31 10 11; CHECK: ldi r16, 255 ; encoding: [0x0f,0xef] 12; CHECK: ldi r31, 255 ; encoding: [0xff,0xef] 13; CHECK: ldi r27, 255 ; encoding: [0xbf,0xef] 14; CHECK: ldi r31, 255 ; encoding: [0xff,0xef] 15 16; CHECK-INST: ldi r16, 255 17; CHECK-INST: ldi r31, 255 18; CHECK-INST: ldi r27, 255 19; CHECK-INST: ldi r31, 255 20