mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
19 lines
289 B
ArmAsm
19 lines
289 B
ArmAsm
|
;;; Test branches and branch relocate with XGATE
|
||
|
;;;
|
||
|
.sect .text
|
||
|
.globl _start
|
||
|
_start:
|
||
|
|
||
|
ldw r1,#var1 ; expands to two IMM8 %hi,%lo relocate
|
||
|
tst r1
|
||
|
beq linked_ad1
|
||
|
tst r2
|
||
|
beq the_end
|
||
|
bra linked_ad2
|
||
|
|
||
|
the_end:
|
||
|
rts
|
||
|
|
||
|
.sect .data
|
||
|
var1: fdb 0x1234
|