• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;;; Test branches and branch relocate with XGATE
2;;;
3	.sect .text
4	.globl _start
5_start:
6
7	ldw	r1,#var1 	; expands to two IMM8 %hi,%lo relocate
8    tst r1
9    beq     linked_ad1
10    tst r2
11    beq     the_end
12    bra     linked_ad2
13
14the_end:
15    rts
16
17    .sect   .data
18var1:   fdb 0x1234
19