; 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:
neg r15
neg r1
neg r22
neg r31
; CHECK: neg r15 ; encoding:
; CHECK: neg r1 ; encoding:
; CHECK: neg r22 ; encoding:
; CHECK: neg r31 ; encoding:
; CHECK-INST: neg r15
; CHECK-INST: neg r1
; CHECK-INST: neg r22
; CHECK-INST: neg r31