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


foo:

  pop r31
  pop r25
  pop r5
  pop r0

; CHECK: pop r31                ; encoding: [0xff,0x91]
; CHECK: pop r25                ; encoding: [0x9f,0x91]
; CHECK: pop r5                 ; encoding: [0x5f,0x90]
; CHECK: pop r0                 ; encoding: [0x0f,0x90]
OpenPOWER on IntegriCloud