1 #as: 2 #objdump: -dr 3 #name: sample 4 .*\.o: file format elf32-epiphany 5 6 Disassembly of section \.text: 7 8 00000000 \<beq\>: 9 \.\.\. 10 11 00000002 \<bne\>: 12 2: ff10 bne 0 \<beq\> 13 14 00000004 \<bgtu\>: 15 4: fe20 bgtu 0 \<beq\> 16 17 00000006 \<bgteu\>: 18 6: fd30 bgteu 0 \<beq\> 19 20 00000008 \<blteu\>: 21 8: fc40 blteu 0 \<beq\> 22 23 0000000a \<bltu\>: 24 a: fb50 bltu 0 \<beq\> 25 26 0000000c \<bgt\>: 27 c: fa60 bgt 0 \<beq\> 28 29 0000000e \<bgte\>: 30 e: f970 bgte 0 \<beq\> 31 32 00000010 \<blt\>: 33 10: f880 blt 0 \<beq\> 34 35 00000012 \<blte\>: 36 12: f790 blte 0 \<beq\> 37 38 00000014 \<bbeq\>: 39 14: f6a0 bbeq 0 \<beq\> 40 41 00000016 \<bbne\>: 42 16: f5b0 bbne 0 \<beq\> 43 44 00000018 \<bblt\>: 45 18: f4c0 bblt 0 \<beq\> 46 47 0000001a \<b\>: 48 1a: f3e0 b 0 \<beq\> 49 50 0000001c \<bl\>: 51 1c: f2f0 bl 0 \<beq\> 52 53 0000001e \<jr\>: 54 1e: 0542 jr r1 55 20: 1d4f 0c02 jr r31 56 57 00000024 \<jalr\>: 58 24: 0552 jalr r1 59 26: 1d5f 0c02 jalr r31 60 61 0000002a \<add\>: 62 2a: 299a add r1,r2,r3 63 2c: 051f 920a add r32,r33,r34 64 30: 2993 add r1,r2,3 65 32: 681b 2002 add fp,r2,16 66 67 00000036 \<sub\>: 68 36: 29ba sub r1,r2,r3 69 38: 053f 920a sub r32,r33,r34 70 3c: 29b3 sub r1,r2,3 71 3e: 683b 2002 sub fp,r2,16 72 73 00000042 \<asr\>: 74 42: 29ea asr r1,r2,r3 75 44: 056f 920a asr r32,r33,r34 76 48: 286e asr r1,r2,0x3 77 4a: 6a0f 200e asr fp,r2,0x10 78 79 0000004e \<lsr\>: 80 4e: 29ca lsr r1,r2,r3 81 50: 054f 920a lsr r32,r33,r34 82 54: 2866 lsr r1,r2,0x3 83 56: 6a0f 2006 lsr fp,r2,0x10 84 85 0000005a \<lsl\>: 86 5a: 29aa lsl r1,r2,r3 87 5c: 052f 920a lsl r32,r33,r34 88 60: 2876 lsl r1,r2,0x3 89 62: 6a1f 2006 lsl fp,r2,0x10 90 91 00000066 \<orr\>: 92 66: 29fa orr r1,r2,r3 93 68: 72ff 248a orr fp,r12,sp 94 95 0000006c \<and\>: 96 6c: 29da and r1,r2,r3 97 6e: 72df 248a and fp,r12,sp 98 99 00000072 \<eor\>: 100 72: 298a eor r1,r2,r3 101 74: 728f 248a eor fp,r12,sp 102 78: 0584 ldrb r0,\[r1,0x3\] 103 7a: 478c 201f ldrb r10,\[r1,\+0xff\] 104 7e: 0501 ldrb r0,\[r1,r2\] 105 80: 0589 0080 ldrb r0,\[r1,\+fp\] 106 84: 0d05 ldrb r0,\[r3\],r2 107 86: 528d 2480 ldrb r10,\[r12\],\+sp 108 8a: 05a4 ldrh r0,\[r1,0x3\] 109 8c: 47ac 201f ldrh r10,\[r1,\+0xff\] 110 90: 0521 ldrh r0,\[r1,r2\] 111 92: 05a9 0080 ldrh r0,\[r1,\+fp\] 112 96: 0d25 ldrh r0,\[r3\],r2 113 98: 52ad 2480 ldrh r10,\[r12\],\+sp 114 9c: 05c4 ldr r0,\[r1,0x3\] 115 9e: 47cc 201f ldr r10,\[r1,\+0xff\] 116 a2: 0541 ldr r0,\[r1,r2\] 117 a4: 05c9 0080 ldr r0,\[r1,\+fp\] 118 a8: 0d45 ldr r0,\[r3\],r2 119 aa: 52cd 2480 ldr r10,\[r12\],\+sp 120 ae: 05e4 ldrd r0,\[r1,0x3\] 121 b0: 47ec 201f ldrd r10,\[r1,\+0xff\] 122 b4: 0561 ldrd r0,\[r1,r2\] 123 b6: 05e9 0080 ldrd r0,\[r1,\+fp\] 124 ba: 0d65 ldrd r0,\[r3\],r2 125 bc: 52ed 2480 ldrd r10,\[r12\],\+sp 126 c0: 0594 strb r0,\[r1,0x3\] 127 c2: 479c 201f strb r10,\[r1,\+0xff\] 128 c6: 0511 strb r0,\[r1,r2\] 129 c8: 0599 0080 strb r0,\[r1,\+fp\] 130 cc: 0d15 strb r0,\[r3\],r2 131 ce: 529d 2480 strb r10,\[r12\],\+sp 132 d2: 05b4 strh r0,\[r1,0x3\] 133 d4: 47bc 201f strh r10,\[r1,\+0xff\] 134 d8: 0531 strh r0,\[r1,r2\] 135 da: 05b9 0080 strh r0,\[r1,\+fp\] 136 de: 0d35 strh r0,\[r3\],r2 137 e0: 52bd 2480 strh r10,\[r12\],\+sp 138 e4: 05d4 str r0,\[r1,0x3\] 139 e6: 47dc 201f str r10,\[r1,\+0xff\] 140 ea: 0551 str r0,\[r1,r2\] 141 ec: 05d9 0080 str r0,\[r1,\+fp\] 142 f0: 0d55 str r0,\[r3\],r2 143 f2: 52dd 2480 str r10,\[r12\],\+sp 144 f6: 05f4 strd r0,\[r1,0x3\] 145 f8: 47fc 201f strd r10,\[r1,\+0xff\] 146 fc: 0571 strd r0,\[r1,r2\] 147 fe: 05f9 0080 strd r0,\[r1,\+fp\] 148 102: 0d75 strd r0,\[r3\],r2 149 104: 52fd 2480 strd r10,\[r12\],\+sp 150 151 00000108 \<mov\>: 152 108: dfe3 mov r6,0xff 153 10a: ffeb 6ff2 mov r31,0xffff 154 10e: 004b 0102 mov r0,0x1002 155 112: 2802 moveq r1,r2 156 114: 700f 2402 moveq fp,r12 157 118: 2812 movne r1,r2 158 11a: 701f 2402 movne fp,r12 159 11e: 2822 movgtu r1,r2 160 120: 702f 2402 movgtu fp,r12 161 124: 2832 movgteu r1,r2 162 126: 703f 2402 movgteu fp,r12 163 12a: 2842 movlteu r1,r2 164 12c: 704f 2402 movlteu fp,r12 165 130: 2852 movltu r1,r2 166 132: 705f 2402 movltu fp,r12 167 136: 2862 movgt r1,r2 168 138: 706f 2402 movgt fp,r12 169 13c: 2872 movgte r1,r2 170 13e: 707f 2402 movgte fp,r12 171 142: 2882 movlt r1,r2 172 144: 708f 2402 movlt fp,r12 173 148: 2892 movlte r1,r2 174 14a: 709f 2402 movlte fp,r12 175 14e: 28a2 movbeq r1,r2 176 150: 70af 2402 movbeq fp,r12 177 154: 28b2 movbne r1,r2 178 156: 70bf 2402 movbne fp,r12 179 15a: 28c2 movblt r1,r2 180 15c: 70cf 2402 movblt fp,r12 181 160: 28d2 movblte r1,r2 182 162: 70df 2402 movblte fp,r12 183 166: 28e2 mov r1,r2 184 168: 70ef 2402 mov fp,r12 185 186 0000016c \<nop\>: 187 16c: 01a2 nop 188 189 0000016e \<idle\>: 190 16e: 01b2 idle 191 192 00000170 \<bkpt\>: 193 170: 01c2 bkpt 194 195 00000172 \<fadd\>: 196 172: 2987 fadd r1,r2,r3 197 174: 728f 2487 fadd fp,r12,sp 198 199 00000178 \<fsub\>: 200 178: 2997 fsub r1,r2,r3 201 17a: 729f 2487 fsub fp,r12,sp 202 203 0000017e \<fmul\>: 204 17e: 29a7 fmul r1,r2,r3 205 180: 72af 2487 fmul fp,r12,sp 206 207 00000184 \<fmadd\>: 208 184: 29b7 fmadd r1,r2,r3 209 186: 72bf 2487 fmadd fp,r12,sp 210 211 0000018a \<fmsub\>: 212 18a: 29c7 fmsub r1,r2,r3 213 18c: 72cf 2487 fmsub fp,r12,sp 214 190: 2102 movts config,r1 215 192: e50f 6002 movts status,r31 216 196: 251f 0402 movfs r1,imask 217 19a: e91f 6002 movfs r31,pc 218 219 0000019e \<trap\>: 220 19e: 03e2 trap 0x0 221 1a0: 01d2 rti 222