1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2
3
4foo:
5
6  cpi r16, 241
7  cpi r29, 190
8  cpi r22, 172
9  cpi r27, 92
10
11  cpi r21, ear
12
13; CHECK: cpi r16, 241                  ; encoding: [0x01,0x3f]
14; CHECK: cpi r29, 190                  ; encoding: [0xde,0x3b]
15; CHECK: cpi r22, 172                  ; encoding: [0x6c,0x3a]
16; CHECK: cpi r27, 92                   ; encoding: [0xbc,0x35]
17
18; CHECK: cpi r21, ear                  ; encoding: [0x50'A',0x30]
19; CHECK:                               ;   fixup A - offset: 0, value: ear, kind: fixup_ldi
20
21