1 #objdump: -dr --prefix-addresses --show-raw-insn 2 #name: NIOS2 sth 3 4 # Test the ld instruction 5 6 .*: +file format elf32-littlenios2 7 8 Disassembly of section .text: 9 0+0000 <[^>]*> 0100000d sth r4,0\(zero\) 10 0+0004 <[^>]*> 0100010d sth r4,4\(zero\) 11 0+0008 <[^>]*> 011fff0d sth r4,32764\(zero\) 12 0+000c <[^>]*> 0120000d sth r4,-32768\(zero\) 13 0+0010 <[^>]*> 2900000d sth r4,0\(r5\) 14 0+0014 <[^>]*> 2900010d sth r4,4\(r5\) 15 0+0018 <[^>]*> 291fff0d sth r4,32764\(r5\) 16 0+001c <[^>]*> 2920000d sth r4,-32768\(r5\) 17 0+0020 <[^>]*> 0100000d sth r4,0\(zero\) 18 [ ]*20: R_NIOS2_S16 .data 19 0+0024 <[^>]*> 0100000d sth r4,0\(zero\) 20 [ ]*24: R_NIOS2_S16 big_external_data_label 21 0+0028 <[^>]*> 0100000d sth r4,0\(zero\) 22 [ ]*28: R_NIOS2_S16 small_external_data_label 23 0+002c <[^>]*> 0100000d sth r4,0\(zero\) 24 [ ]*2c: R_NIOS2_S16 big_external_common 25 0+0030 <[^>]*> 0100000d sth r4,0\(zero\) 26 [ ]*30: R_NIOS2_S16 small_external_common 27 0+0034 <[^>]*> 0100000d sth r4,0\(zero\) 28 [ ]*34: R_NIOS2_S16 .bss 29 0+0038 <[^>]*> 0100000d sth r4,0\(zero\) 30 [ ]*38: R_NIOS2_S16 .bss\+0x4000 31 0+003c <[^>]*> 0100000d sth r4,0\(zero\) 32 [ ]*3c: R_NIOS2_S16 .data\+0x4 33 0+0040 <[^>]*> 0100000d sth r4,0\(zero\) 34 [ ]*40: R_NIOS2_S16 big_external_data_label\+0x4 35 0+0044 <[^>]*> 0100000d sth r4,0\(zero\) 36 [ ]*44: R_NIOS2_S16 small_external_data_label\+0x4 37 0+0048 <[^>]*> 0100000d sth r4,0\(zero\) 38 [ ]*48: R_NIOS2_S16 big_external_common\+0x4 39 0+004c <[^>]*> 0100000d sth r4,0\(zero\) 40 [ ]*4c: R_NIOS2_S16 small_external_common\+0x4 41 0+0050 <[^>]*> 0100000d sth r4,0\(zero\) 42 [ ]*50: R_NIOS2_S16 .bss\+0x4 43 0+0054 <[^>]*> 0100000d sth r4,0\(zero\) 44 [ ]*54: R_NIOS2_S16 .bss\+0x4004 45 0+0058 <[^>]*> 0100000d sth r4,0\(zero\) 46 [ ]*58: R_NIOS2_S16 .data-0x8000 47 0+005c <[^>]*> 0100000d sth r4,0\(zero\) 48 [ ]*5c: R_NIOS2_S16 big_external_data_label-0x8000 49 0+0060 <[^>]*> 0100000d sth r4,0\(zero\) 50 [ ]*60: R_NIOS2_S16 small_external_data_label-0x8000 51 0+0064 <[^>]*> 0100000d sth r4,0\(zero\) 52 [ ]*64: R_NIOS2_S16 big_external_common-0x8000 53 0+0068 <[^>]*> 0100000d sth r4,0\(zero\) 54 [ ]*68: R_NIOS2_S16 small_external_common-0x8000 55 0+006c <[^>]*> 0100000d sth r4,0\(zero\) 56 [ ]*6c: R_NIOS2_S16 .bss-0x8000 57 0+0070 <[^>]*> 0100000d sth r4,0\(zero\) 58 [ ]*70: R_NIOS2_S16 .bss-0x4000 59 0+0074 <[^>]*> 0100000d sth r4,0\(zero\) 60 [ ]*74: R_NIOS2_S16 .data\+0x10000 61 0+0078 <[^>]*> 2900000d sth r4,0\(r5\) 62 [ ]*78: R_NIOS2_S16 .data 63 0+007c <[^>]*> 2900000d sth r4,0\(r5\) 64 [ ]*7c: R_NIOS2_S16 big_external_data_label 65 0+0080 <[^>]*> 2900000d sth r4,0\(r5\) 66 [ ]*80: R_NIOS2_S16 small_external_data_label 67 0+0084 <[^>]*> 2900000d sth r4,0\(r5\) 68 [ ]*84: R_NIOS2_S16 big_external_common 69 0+0088 <[^>]*> 2900000d sth r4,0\(r5\) 70 [ ]*88: R_NIOS2_S16 small_external_common 71 0+008c <[^>]*> 2900000d sth r4,0\(r5\) 72 [ ]*8c: R_NIOS2_S16 .bss 73 0+0090 <[^>]*> 2900000d sth r4,0\(r5\) 74 [ ]*90: R_NIOS2_S16 .bss\+0x4000 75 0+0094 <[^>]*> 2900000d sth r4,0\(r5\) 76 [ ]*94: R_NIOS2_S16 .data\+0x4 77 0+0098 <[^>]*> 2900000d sth r4,0\(r5\) 78 [ ]*98: R_NIOS2_S16 big_external_data_label\+0x4 79 0+009c <[^>]*> 2900000d sth r4,0\(r5\) 80 [ ]*9c: R_NIOS2_S16 small_external_data_label\+0x4 81 0+00a0 <[^>]*> 2900000d sth r4,0\(r5\) 82 [ ]*a0: R_NIOS2_S16 big_external_common\+0x4 83 0+00a4 <[^>]*> 2900000d sth r4,0\(r5\) 84 [ ]*a4: R_NIOS2_S16 small_external_common\+0x4 85 0+00a8 <[^>]*> 2900000d sth r4,0\(r5\) 86 [ ]*a8: R_NIOS2_S16 .bss\+0x4 87 0+00ac <[^>]*> 2900000d sth r4,0\(r5\) 88 [ ]*ac: R_NIOS2_S16 .bss\+0x4004 89 0+00b0 <[^>]*> 2900000d sth r4,0\(r5\) 90 [ ]*b0: R_NIOS2_S16 .data-0x8000 91 0+00b4 <[^>]*> 2900000d sth r4,0\(r5\) 92 [ ]*b4: R_NIOS2_S16 big_external_data_label-0x8000 93 0+00b8 <[^>]*> 2900000d sth r4,0\(r5\) 94 [ ]*b8: R_NIOS2_S16 small_external_data_label-0x8000 95 0+00bc <[^>]*> 2900000d sth r4,0\(r5\) 96 [ ]*bc: R_NIOS2_S16 big_external_common-0x8000 97 0+00c0 <[^>]*> 2900000d sth r4,0\(r5\) 98 [ ]*c0: R_NIOS2_S16 small_external_common-0x8000 99 0+00c4 <[^>]*> 2900000d sth r4,0\(r5\) 100 [ ]*c4: R_NIOS2_S16 .bss-0x8000 101 0+00c8 <[^>]*> 2900000d sth r4,0\(r5\) 102 [ ]*c8: R_NIOS2_S16 .bss-0x4000 103 0+00cc <[^>]*> 0100002d sthio r4,0\(zero\) 104 0+00d0 <[^>]*> 0100012d sthio r4,4\(zero\) 105 0+00d4 <[^>]*> 011fff2d sthio r4,32764\(zero\) 106 0+00d8 <[^>]*> 0120002d sthio r4,-32768\(zero\) 107 0+00dc <[^>]*> 2900002d sthio r4,0\(r5\) 108 0+00e0 <[^>]*> 2900012d sthio r4,4\(r5\) 109 0+00e4 <[^>]*> 291fff2d sthio r4,32764\(r5\) 110 0+00e8 <[^>]*> 2920002d sthio r4,-32768\(r5\) 111 0+00ec <[^>]*> 0100002d sthio r4,0\(zero\) 112 [ ]*ec: R_NIOS2_S16 .data 113 0+00f0 <[^>]*> 0100002d sthio r4,0\(zero\) 114 [ ]*f0: R_NIOS2_S16 big_external_data_label 115 0+00f4 <[^>]*> 0100002d sthio r4,0\(zero\) 116 [ ]*f4: R_NIOS2_S16 small_external_data_label 117 0+00f8 <[^>]*> 0100002d sthio r4,0\(zero\) 118 [ ]*f8: R_NIOS2_S16 big_external_common 119 0+00fc <[^>]*> 0100002d sthio r4,0\(zero\) 120 [ ]*fc: R_NIOS2_S16 small_external_common 121 0+0100 <[^>]*> 0100002d sthio r4,0\(zero\) 122 [ ]*100: R_NIOS2_S16 .bss 123 0+0104 <[^>]*> 0100002d sthio r4,0\(zero\) 124 [ ]*104: R_NIOS2_S16 .bss\+0x4000 125 0+0108 <[^>]*> 0100002d sthio r4,0\(zero\) 126 [ ]*108: R_NIOS2_S16 .data\+0x4 127 0+010c <[^>]*> 0100002d sthio r4,0\(zero\) 128 [ ]*10c: R_NIOS2_S16 big_external_data_label\+0x4 129 0+0110 <[^>]*> 0100002d sthio r4,0\(zero\) 130 [ ]*110: R_NIOS2_S16 small_external_data_label\+0x4 131 0+0114 <[^>]*> 0100002d sthio r4,0\(zero\) 132 [ ]*114: R_NIOS2_S16 big_external_common\+0x4 133 0+0118 <[^>]*> 0100002d sthio r4,0\(zero\) 134 [ ]*118: R_NIOS2_S16 small_external_common\+0x4 135 0+011c <[^>]*> 0100002d sthio r4,0\(zero\) 136 [ ]*11c: R_NIOS2_S16 .bss\+0x4 137 0+0120 <[^>]*> 0100002d sthio r4,0\(zero\) 138 [ ]*120: R_NIOS2_S16 .bss\+0x4004 139 0+0124 <[^>]*> 0100002d sthio r4,0\(zero\) 140 [ ]*124: R_NIOS2_S16 .data-0x8000 141 0+0128 <[^>]*> 0100002d sthio r4,0\(zero\) 142 [ ]*128: R_NIOS2_S16 big_external_data_label-0x8000 143 0+012c <[^>]*> 0100002d sthio r4,0\(zero\) 144 [ ]*12c: R_NIOS2_S16 small_external_data_label-0x8000 145 0+0130 <[^>]*> 0100002d sthio r4,0\(zero\) 146 [ ]*130: R_NIOS2_S16 big_external_common-0x8000 147 0+0134 <[^>]*> 0100002d sthio r4,0\(zero\) 148 [ ]*134: R_NIOS2_S16 small_external_common-0x8000 149 0+0138 <[^>]*> 0100002d sthio r4,0\(zero\) 150 [ ]*138: R_NIOS2_S16 .bss-0x8000 151 0+013c <[^>]*> 0100002d sthio r4,0\(zero\) 152 [ ]*13c: R_NIOS2_S16 .bss-0x4000 153 0+0140 <[^>]*> 0100002d sthio r4,0\(zero\) 154 [ ]*140: R_NIOS2_S16 .data\+0x10000 155 0+0144 <[^>]*> 2900002d sthio r4,0\(r5\) 156 [ ]*144: R_NIOS2_S16 .data 157 0+0148 <[^>]*> 2900002d sthio r4,0\(r5\) 158 [ ]*148: R_NIOS2_S16 big_external_data_label 159 0+014c <[^>]*> 2900002d sthio r4,0\(r5\) 160 [ ]*14c: R_NIOS2_S16 small_external_data_label 161 0+0150 <[^>]*> 2900002d sthio r4,0\(r5\) 162 [ ]*150: R_NIOS2_S16 big_external_common 163 0+0154 <[^>]*> 2900002d sthio r4,0\(r5\) 164 [ ]*154: R_NIOS2_S16 small_external_common 165 0+0158 <[^>]*> 2900002d sthio r4,0\(r5\) 166 [ ]*158: R_NIOS2_S16 .bss 167 0+015c <[^>]*> 2900002d sthio r4,0\(r5\) 168 [ ]*15c: R_NIOS2_S16 .bss\+0x4000 169 0+0160 <[^>]*> 2900002d sthio r4,0\(r5\) 170 [ ]*160: R_NIOS2_S16 .data\+0x4 171 0+0164 <[^>]*> 2900002d sthio r4,0\(r5\) 172 [ ]*164: R_NIOS2_S16 big_external_data_label\+0x4 173 0+0168 <[^>]*> 2900002d sthio r4,0\(r5\) 174 [ ]*168: R_NIOS2_S16 small_external_data_label\+0x4 175 0+016c <[^>]*> 2900002d sthio r4,0\(r5\) 176 [ ]*16c: R_NIOS2_S16 big_external_common\+0x4 177 0+0170 <[^>]*> 2900002d sthio r4,0\(r5\) 178 [ ]*170: R_NIOS2_S16 small_external_common\+0x4 179 0+0174 <[^>]*> 2900002d sthio r4,0\(r5\) 180 [ ]*174: R_NIOS2_S16 .bss\+0x4 181 0+0178 <[^>]*> 2900002d sthio r4,0\(r5\) 182 [ ]*178: R_NIOS2_S16 .bss\+0x4004 183 0+017c <[^>]*> 2900002d sthio r4,0\(r5\) 184 [ ]*17c: R_NIOS2_S16 .data-0x8000 185 0+0180 <[^>]*> 2900002d sthio r4,0\(r5\) 186 [ ]*180: R_NIOS2_S16 big_external_data_label-0x8000 187 0+0184 <[^>]*> 2900002d sthio r4,0\(r5\) 188 [ ]*184: R_NIOS2_S16 small_external_data_label-0x8000 189 0+0188 <[^>]*> 2900002d sthio r4,0\(r5\) 190 [ ]*188: R_NIOS2_S16 big_external_common-0x8000 191 0+018c <[^>]*> 2900002d sthio r4,0\(r5\) 192 [ ]*18c: R_NIOS2_S16 small_external_common-0x8000 193 0+0190 <[^>]*> 2900002d sthio r4,0\(r5\) 194 [ ]*190: R_NIOS2_S16 .bss-0x8000 195 0+0194 <[^>]*> 2900002d sthio r4,0\(r5\) 196 [ ]*194: R_NIOS2_S16 .bss-0x4000 197