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


foo:

  com r30
  com r17
  com r4
  com r0

; CHECK: com r30                  ; encoding: [0xe0,0x95]
; CHECK: com r17                  ; encoding: [0x10,0x95]
; CHECK: com r4                   ; encoding: [0x40,0x94]
; CHECK: com r0                   ; encoding: [0x00,0x94]
OpenPOWER on IntegriCloud