Home | History | Annotate | Download | only in sh64
      1 ! Like rel-1, but references are marked "datalabel".
      2 
      3 	.mode SHmedia
      4 	.text
      5 start:
      6 	movi datalabel data1 - datalabel $,r10
      7 	movi (datalabel data2 - datalabel $) & 65535,r10
      8 	movi ((datalabel data3 - datalabel $) >> 0) & 65535,r10
      9 	movi ((datalabel data4 - datalabel $) >> 16) & 65535,r10
     10 	movi datalabel data5 + 8 - datalabel $,r10
     11 	movi (datalabel data6 + 16 - datalabel $) & 65535,r10
     12 	movi ((datalabel data7 + 12 - datalabel $) >> 0) & 65535,r10
     13 	movi ((datalabel data8 + 4 - datalabel $) >> 16) & 65535,r10
     14 
     15 	movi datalabel othertext1 - datalabel $,r10
     16 	movi (datalabel othertext2 - datalabel $) & 65535,r10
     17 	movi ((datalabel othertext3 - datalabel $) >> 0) & 65535,r10
     18 	movi ((datalabel othertext4 - datalabel $) >> 16) & 65535,r10
     19 	movi datalabel othertext5 + 8 - datalabel $,r10
     20 	movi (datalabel othertext6 + 16 - datalabel $) & 65535,r10
     21 	movi ((datalabel othertext7 + 12 - datalabel $) >> 0) & 65535,r10
     22 	movi ((datalabel othertext8 + 4 - datalabel $) >> 16) & 65535,r10
     23 
     24 	movi datalabel extern1 - datalabel $,r10
     25 	movi (datalabel extern2 - datalabel $) & 65535,r10
     26 	movi ((datalabel extern3 - datalabel $) >> 0) & 65535,r10
     27 	movi ((datalabel extern4 - datalabel $) >> 16) & 65535,r10
     28 	movi datalabel extern5 + 8 - datalabel $,r10
     29 	movi (datalabel extern6 + 16 - datalabel $) & 65535,r10
     30 	movi ((datalabel extern7 + 12 - datalabel $) >> 0) & 65535,r10
     31 	movi ((datalabel extern8 + 4 - datalabel $) >> 16) & 65535,r10
     32 
     33 	movi datalabel gdata1 - datalabel $,r10
     34 	movi (datalabel gdata2 - datalabel $) & 65535,r10
     35 	movi ((datalabel gdata3 - datalabel $) >> 0) & 65535,r10
     36 	movi ((datalabel gdata4 - datalabel $) >> 16) & 65535,r10
     37 	movi datalabel gdata5 + 8 - datalabel $,r10
     38 	movi (datalabel gdata6 + 16 - datalabel $) & 65535,r10
     39 	movi ((datalabel gdata7 + 12 - datalabel $) >> 0) & 65535,r10
     40 	movi ((datalabel gdata8 + 4 - datalabel $) >> 16) & 65535,r10
     41 
     42 	movi datalabel gothertext1 - datalabel $,r10
     43 	movi (datalabel gothertext2 - datalabel $) & 65535,r10
     44 	movi ((datalabel gothertext3 - datalabel $) >> 0) & 65535,r10
     45 	movi ((datalabel gothertext4 - datalabel $) >> 16) & 65535,r10
     46 	movi datalabel gothertext5 + 8 - datalabel $,r10
     47 	movi (datalabel gothertext6 + 16 - datalabel $) & 65535,r10
     48 	movi ((datalabel gothertext7 + 12 - datalabel $) >> 0) & 65535,r10
     49 	movi ((datalabel gothertext8 + 4 - datalabel $) >> 16) & 65535,r10
     50 
     51 	.section .othertext,"ax"
     52 x:
     53 	nop
     54 othertext1:
     55 	nop
     56 othertext2:
     57 	nop
     58 othertext3:
     59 	nop
     60 othertext4:
     61 	nop
     62 othertext5:
     63 	nop
     64 othertext6:
     65 	nop
     66 othertext7:
     67 	nop
     68 othertext8:
     69 	nop
     70 	.global gothertext1
     71 gothertext1:
     72 	nop
     73 	.global gothertext2
     74 gothertext2:
     75 	nop
     76 	.global gothertext3
     77 gothertext3:
     78 	nop
     79 	.global gothertext4
     80 gothertext4:
     81 	nop
     82 	.global gothertext5
     83 gothertext5:
     84 	nop
     85 	.global gothertext6
     86 gothertext6:
     87 	nop
     88 	.global gothertext7
     89 gothertext7:
     90 	nop
     91 	.global gothertext8
     92 gothertext8:
     93 	nop
     94 
     95 	.data
     96 y:
     97 	.long 0
     98 data1:
     99 	.long 0
    100 data2:
    101 	.long 0
    102 data3:
    103 	.long 0
    104 data4:
    105 	.long 0
    106 data5:
    107 	.long 0
    108 data6:
    109 	.long 0
    110 data7:
    111 	.long 0
    112 data8:
    113 	.long 0
    114 	.global gdata1
    115 gdata1:
    116 	.long 0
    117 	.global gdata2
    118 gdata2:
    119 	.long 0
    120 	.global gdata3
    121 gdata3:
    122 	.long 0
    123 	.global gdata4
    124 gdata4:
    125 	.long 0
    126 	.global gdata5
    127 gdata5:
    128 	.long 0
    129 	.global gdata6
    130 gdata6:
    131 	.long 0
    132 	.global gdata7
    133 gdata7:
    134 	.long 0
    135 	.global gdata8
    136 gdata8:
    137 	.long 0
    138