; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck --check-prefix=CHECK-INST %s
foo:
ser r16
ser r31
ser r27
ser r31
; CHECK: ldi r16, 255 ; encoding:
; CHECK: ldi r31, 255 ; encoding:
; CHECK: ldi r27, 255 ; encoding:
; CHECK: ldi r31, 255 ; encoding:
; CHECK-INST: ldi r16, 255
; CHECK-INST: ldi r31, 255
; CHECK-INST: ldi r27, 255
; CHECK-INST: ldi r31, 255