1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2
3foo:
4  neg r15
5  neg r1
6  neg r22
7  neg r31
8
9; CHECK: neg r15                  ; encoding: [0xf1,0x94]
10; CHECK: neg r1                   ; encoding: [0x11,0x94]
11; CHECK: neg r22                  ; encoding: [0x61,0x95]
12; CHECK: neg r31                  ; encoding: [0xf1,0x95]
13