summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AVR/inst-sbci.s
blob: aad15238455a345862256cfa5842b12c3ee05a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s


foo:

  sbci r17, 21
  sbci r23, 196
  sbci r30, 244
  sbci r19, 16
  sbci r22, FOO

; CHECK: sbci r17, 21                 ; encoding: [0x15,0x41]
; CHECK: sbci r23, 196                ; encoding: [0x74,0x4c]
; CHECK: sbci r30, 244                ; encoding: [0xe4,0x4f]
; CHECK: sbci r19, 16                 ; encoding: [0x30,0x41]

; CHECK: sbci r22, FOO                ; encoding: [0x60'A',0x40]
; CHECK:                              ;   fixup A - offset: 0, value: FOO, kind: fixup_ldi
OpenPOWER on IntegriCloud