forked from OSchip/llvm-project
21 lines
563 B
ArmAsm
21 lines
563 B
ArmAsm
; RUN: llvm-mc -triple avr -mattr=sram -show-encoding < %s | FileCheck %s
|
|
; RUN: llvm-mc -filetype=obj -triple avr -mattr=sram < %s | llvm-objdump -d --mattr=sram - | FileCheck -check-prefix=CHECK-INST %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]
|
|
|
|
; CHECK-INST: pop r31
|
|
; CHECK-INST: pop r25
|
|
; CHECK-INST: pop r5
|
|
; CHECK-INST: pop r0
|