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


foo:

  las Z, r13
  las Z, r0
  las Z, r31
  las Z, r3

; CHECK: las Z, r13                  ; encoding: [0xd5,0x92]
; CHECK: las Z, r0                   ; encoding: [0x05,0x92]
; CHECK: las Z, r31                  ; encoding: [0xf5,0x93]
; CHECK: las Z, r3                   ; encoding: [0x35,0x92]
OpenPOWER on IntegriCloud