[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / AVR / inst-clr.s
blobf48ef86744665f931de14b2589ef0e39fffa6904
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
6 clr r2
7 clr r12
8 clr r5
9 clr r0
11 ; CHECK: clr r2 ; encoding: [0x22,0x24]
12 ; CHECK: clr r12 ; encoding: [0xcc,0x24]
13 ; CHECK: clr r5 ; encoding: [0x55,0x24]
14 ; CHECK: clr r0 ; encoding: [0x00,0x24]