summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AVR/inst-lsr.s
blob: 3145eb80ee4545bd5599af8597545b441589fbfd (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:

  lsr r31
  lsr r25
  lsr r5
  lsr r0

; CHECK: lsr r31                ; encoding: [0xf6,0x95]
; CHECK: lsr r25                ; encoding: [0x96,0x95]
; CHECK: lsr r5                 ; encoding: [0x56,0x94]
; CHECK: lsr r0                 ; encoding: [0x06,0x94]
OpenPOWER on IntegriCloud