[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-neg.s
blobc602cdd5a1c36456ee0472b92818b07f71455c62
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
3 foo:
4 neg r15
5 neg r1
6 neg r22
7 neg r31
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]