1 #objdump: -dr 2 #name: pj 3 #as 4 5 # test all the instructions 6 7 .*: +file format elf32-pj 8 9 Disassembly of section .text: 10 11 00000000 <foo0-0x1>: 12 ... 13 14 00000001 <foo0>: 15 ... 16 17 00000002 <foo1>: 18 ... 19 20 00000003 <foo2>: 21 ... 22 23 00000004 <foo3>: 24 ... 25 26 00000005 <foo4>: 27 ... 28 29 00000006 <foo5>: 30 ... 31 32 00000007 <foo6>: 33 ... 34 35 00000008 <foo7>: 36 ... 37 38 00000009 <foo8>: 39 ... 40 41 0000000a <foo9>: 42 ... 43 44 0000000b <foo10>: 45 ... 46 47 0000000c <foo11>: 48 ... 49 50 0000000d <foo12>: 51 ... 52 53 0000000e <foo13>: 54 ... 55 56 0000000f <foo14>: 57 ... 58 59 00000010 <foo15>: 60 ... 61 62 00000011 <foo16>: 63 ... 64 65 00000012 <foo17>: 66 ... 67 68 00000013 <foo18>: 69 ... 70 71 00000014 <foo19>: 72 14: 00 nop 73 15: 01 aconst_null 74 16: 02 iconst_m1 75 17: 03 iconst_0 76 18: 04 iconst_1 77 19: 05 iconst_2 78 1a: 06 iconst_3 79 1b: 07 iconst_4 80 1c: 08 iconst_5 81 1d: 09 lconst_0 82 1e: 0a lconst_1 83 1f: 0b fconst_0 84 20: 0c fconst_1 85 21: 0d fconst_2 86 22: 0e dconst_0 87 23: 0f dconst_1 88 24: 10 e7 bipush -25 89 26: 11 a3 c6 sipush -23610 90 29: 12 00 ldc 91 2b: 13 00 00 ldc_w 92 2e: 14 00 00 ldc2_w 93 31: 15 69 iload 105 94 33: 16 73 lload 115 95 35: 17 51 fload 81 96 37: 18 ff dload 255 97 39: 19 4a aload 74 98 3b: 1a iload_0 99 3c: 1b iload_1 100 3d: 1c iload_2 101 3e: 1d iload_3 102 3f: 1e lload_0 103 40: 1f lload_1 104 41: 20 lload_2 105 42: 21 lload_3 106 43: 22 fload_0 107 44: 23 fload_1 108 45: 24 fload_2 109 46: 25 fload_3 110 47: 26 dload_0 111 48: 27 dload_1 112 49: 28 dload_2 113 4a: 29 dload_3 114 4b: 2a aload_0 115 4c: 2b aload_1 116 4d: 2c aload_2 117 4e: 2d aload_3 118 4f: 2e iaload 119 50: 2f laload 120 51: 30 faload 121 52: 31 daload 122 53: 32 aaload 123 54: 33 baload 124 55: 34 caload 125 56: 35 saload 126 57: 36 ec istore 236 127 59: 37 29 lstore 41 128 5b: 38 cd fstore 205 129 5d: 39 ba dstore 186 130 5f: 3a ab astore 171 131 61: 3b istore_0 132 62: 3c istore_1 133 63: 3d istore_2 134 64: 3e istore_3 135 65: 3f lstore_0 136 66: 40 lstore_1 137 67: 41 lstore_2 138 68: 42 lstore_3 139 69: 43 fstore_0 140 6a: 44 fstore_1 141 6b: 45 fstore_2 142 6c: 46 fstore_3 143 6d: 47 dstore_0 144 6e: 48 dstore_1 145 6f: 49 dstore_2 146 70: 4a dstore_3 147 71: 4b astore_0 148 72: 4c astore_1 149 73: 4d astore_2 150 74: 4e astore_3 151 75: 4f iastore 152 76: 50 lastore 153 77: 51 fastore 154 78: 52 dastore 155 79: 53 aastore 156 7a: 54 bastore 157 7b: 55 castore 158 7c: 56 sastore 159 7d: 57 pop 160 7e: 58 pop2 161 7f: 59 dup 162 80: 5a dup_x1 163 81: 5b dup_x2 164 82: 5c dup2 165 83: 5d dup2_x1 166 84: 5e dup2_x2 167 85: 5f swap 168 86: 60 iadd 169 87: 61 ladd 170 88: 62 fadd 171 89: 63 dadd 172 8a: 64 isub 173 8b: 65 lsub 174 8c: 66 fsub 175 8d: 67 dsub 176 8e: 68 imul 177 8f: 69 lmul 178 90: 6a fmul 179 91: 6b dmul 180 92: 6c idiv 181 93: 6d ldiv 182 94: 6e fdiv 183 95: 6f ddiv 184 96: 70 irem 185 97: 71 lrem 186 98: 72 frem 187 99: 73 drem 188 9a: 74 ineg 189 9b: 75 lneg 190 9c: 76 fneg 191 9d: 77 dneg 192 9e: 78 ishl 193 9f: 79 lshl 194 a0: 7a ishr 195 a1: 7b lshr 196 a2: 7c iushr 197 a3: 7d lushr 198 a4: 7e iand 199 a5: 7f land 200 a6: 80 ior 201 a7: 81 lor 202 a8: 82 ixor 203 a9: 83 lxor 204 aa: 84 f2 7b iinc 242,123 205 ad: 85 i2l 206 ae: 86 i2f 207 af: 87 i2d 208 b0: 88 l2i 209 b1: 89 l2f 210 b2: 8a l2d 211 b3: 8b f2i 212 b4: 8c f2l 213 b5: 8d f2d 214 b6: 8e d2i 215 b7: 8f d2l 216 b8: 90 d2f 217 b9: 91 i2b 218 ba: 92 i2c 219 bb: 93 i2s 220 bc: 94 lcmp 221 bd: 95 fcmpl 222 be: 96 fcmpg 223 bf: 97 dcmpl 224 c0: 98 dcmpg 225 c1: 99 ff 41 ifeq2 <foo1> 226 c4: 9a ff 47 ifneb <foo10> 227 c7: 9b ff 41 iflt8 <foo7> 228 ca: 9c ff 48 ifge12 <foo17> 229 cd: 9d ff 39 ifgt6 <foo5> 230 d0: 9e ff 3a iflea <foo9> 231 d3: 9f ff 38 if_icmpeqb <foo10> 232 d6: a0 ff 3a if_icmpne10 <foo15> 233 d9: a1 ff 30 if_icmplt9 <foo8> 234 dc: a2 ff 31 if_icmpged <foo12> 235 df: a3 ff 29 if_icmpgt8 <foo7> 236 e2: a4 ff 2b if_icmpled <foo12> 237 e5: a5 ff 22 if_acmpeq7 <foo6> 238 e8: a6 ff 20 if_acmpne8 <foo7> 239 eb: a7 ff 1b goto6 <foo5> 240 ee: a8 00 00 jsr 241 f1: a9 00 ret 242 f3: aa ff ff ff tableswitch default: .* 243 f7: 0f 00 00 00 244 fb: 01 00 00 00 245 ff: 05 ff ff ff 246 103: 14 ff ff ff 247 107: 12 ff ff ff 248 10b: 1f ff ff ff 249 10f: 14 ff ff ff 250 113: 12 251 114: ab 00 00 00 lookupswitch default: .* 252 118: ff ff fe f2 253 11c: 00 00 00 02 254 120: 00 00 00 07 255 124: ff ff fe fb 256 128: 00 00 00 25 257 12c: ff ff fe fc 258 130: ac ireturn 259 131: ad lreturn 260 132: ae freturn 261 133: af dreturn 262 134: b0 areturn 263 135: b1 return 264 136: b2 00 00 getstatic 265 139: b3 00 00 putstatic 266 13c: b4 00 00 getfield 267 13f: b5 00 00 putfield 268 142: b6 00 00 invokevirtual 269 145: b7 00 00 invokespecial 270 148: b8 00 00 invokestatic 271 14b: b9 00 00 00 invokeinterface 272 14f: 00 273 150: bb 00 00 new 274 153: bc 00 newarray 275 155: bd 00 00 anewarray 276 158: be arraylength 277 159: bf athrow 278 15a: c0 00 00 checkcast 279 15d: c1 00 00 instanceof 280 160: c2 monitorenter 281 161: c3 monitorexit 282 162: c4 wide 283 163: c5 00 00 00 multianewarray 284 167: c6 00 00 ifnull 285 16a: c7 00 00 ifnonnull 286 16d: c8 00 00 00 goto_w 287 171: 00 288 172: c9 00 00 00 jsr_w 289 176: 00 290 177: ca breakpoint 291 178: cb bytecode 292 179: cc try 293 17a: cd endtry 294 17b: ce catch 295 17c: cf var 296 17d: d0 endvar 297 17e: ed b0 a3 sethi -20317 298 181: ee 5a a5 load_word_index 90,165 299 184: ef 5d 85 load_short_index 93,133 300 187: f0 17 d8 load_char_index 23,216 301 18a: f1 e9 de load_byte_index 233,222 302 18d: f2 d4 2b load_ubyte_index 212,43 303 190: f3 b2 4d store_word_index 178,77 304 193: f4 c6 1b na_store_word_index 198,27 305 196: f5 b4 d4 store_short_index 180,212 306 199: f6 11 8e store_byte_index 17,142 307 19c: ff 00 load_ubyte 308 19e: ff 01 load_byte 309 1a0: ff 02 load_char 310 1a2: ff 03 load_short 311 1a4: ff 04 load_word 312 1a6: ff 05 priv_ret_from_trap 313 1a8: ff 06 priv_read_dcache_tag 314 1aa: ff 07 priv_read_dcache_data 315 1ac: ff 0a load_char_oe 316 1ae: ff 0b load_short_oe 317 1b0: ff 0c load_word_oe 318 1b2: ff 0d return0 319 1b4: ff 0e priv_read_icache_tag 320 1b6: ff 0f priv_read_icache_data 321 1b8: ff 10 ncload_ubyte 322 1ba: ff 11 ncload_byte 323 1bc: ff 12 ncload_char 324 1be: ff 13 ncload_short 325 1c0: ff 14 ncload_word 326 1c2: ff 15 iucmp 327 1c4: ff 16 priv_powerdown 328 1c6: ff 17 cache_invalidate 329 1c8: ff 1a ncload_char_oe 330 1ca: ff 1b ncload_short_oe 331 1cc: ff 1c ncload_word_oe 332 1ce: ff 1d return1 333 1d0: ff 1e cache_flush 334 1d2: ff 1f cache_index_flush 335 1d4: ff 20 store_byte 336 1d6: ff 22 store_short 337 1d8: ff 24 store_word 338 1da: ff 25 soft_trap 339 1dc: ff 26 priv_write_dcache_tag 340 1de: ff 27 priv_write_dcache_data 341 1e0: ff 2a store_short_oe 342 1e2: ff 2c store_word_oe 343 1e4: ff 2d return2 344 1e6: ff 2e priv_write_icache_tag 345 1e8: ff 2f priv_write_icache_data 346 1ea: ff 30 ncstore_byte 347 1ec: ff 32 ncstore_short 348 1ee: ff 34 ncstore_word 349 1f0: ff 36 priv_reset 350 1f2: ff 37 get_current_class 351 1f4: ff 3a ncstore_short_oe 352 1f6: ff 3c ncstore_word_oe 353 1f8: ff 3d call 354 1fa: ff 3e zero_line 355 1fc: ff 3f priv_update_optop 356 1fe: ff 40 read_pc 357 200: ff 41 read_vars 358 202: ff 42 read_frame 359 204: ff 43 read_optop 360 206: ff 44 priv_read_oplim 361 208: ff 45 read_const_pool 362 20a: ff 46 priv_read_psr 363 20c: ff 47 priv_read_trapbase 364 20e: ff 48 priv_read_lockcount0 365 210: ff 49 priv_read_lockcount1 366 212: ff 4c priv_read_lockaddr0 367 214: ff 4d priv_read_lockaddr1 368 216: ff 50 priv_read_userrange1 369 218: ff 51 priv_read_gc_config 370 21a: ff 52 priv_read_brk1a 371 21c: ff 53 priv_read_brk2a 372 21e: ff 54 priv_read_brk12c 373 220: ff 55 priv_read_userrange2 374 222: ff 57 priv_read_versionid 375 224: ff 58 priv_read_hcr 376 226: ff 59 priv_read_sc_bottom 377 228: ff 5a read_global0 378 22a: ff 5b read_global1 379 22c: ff 5c read_global2 380 22e: ff 5d read_global3 381 230: ff 60 write_pc 382 232: ff 61 write_vars 383 234: ff 62 write_frame 384 236: ff 63 write_optop 385 238: ff 64 priv_write_oplim 386 23a: ff 65 write_const_pool 387 23c: ff 66 priv_write_psr 388 23e: ff 67 priv_write_trapbase 389 240: ff 68 priv_write_lockcount0 390 242: ff 69 priv_write_lockcount1 391 244: ff 6c priv_write_lockaddr0 392 246: ff 6d priv_write_lockaddr1 393 248: ff 70 priv_write_userrange1 394 24a: ff 71 priv_write_gc_config 395 24c: ff 72 priv_write_brk1a 396 24e: ff 73 priv_write_brk2a 397 250: ff 74 priv_write_brk12c 398 252: ff 75 priv_write_userrange2 399 254: ff 79 priv_write_sc_bottom 400 256: ff 7a write_global0 401 258: ff 7b write_global1 402 25a: ff 7c write_global2 403 25c: ff 7d write_global3 404 25e: ff ae tm_putchar 405 260: ff af tm_exit 406 262: ff b0 tm_trap 407 264: ff b1 tm_minfo 408