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