1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2
3
4foo:
5
6  sbi 3, 5
7  sbi 1, 1
8  sbi 0, 0
9  sbi 7, 2
10
11  sbi main, 0
12
13; CHECK: sbi 3, 5                  ; encoding: [0x1d,0x9a]
14; CHECK: sbi 1, 1                  ; encoding: [0x09,0x9a]
15; CHECK: sbi 0, 0                  ; encoding: [0x00,0x9a]
16; CHECK: sbi 7, 2                  ; encoding: [0x3a,0x9a]
17
18; CHECK: sbi main, 0               ; encoding: [0bAAAAA000,0x9a]
19; CHECK:                           ;   fixup A - offset: 0, value: main, kind: fixup_port5
20
21