SHARE
TWEET

Untitled

a guest Jul 2nd, 2014 189 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sb@eee compiler $ or1k-elf-objdump -r test.out
  2.  
  3. test.out:     file format elf32-or1k
  4.  
  5. sb@eee compiler $ or1k-elf-objdump -d test.out
  6.  
  7. test.out:     file format elf32-or1k
  8.  
  9.  
  10. Disassembly of section .text:
  11.  
  12. 00000000 <run>:
  13.    0:   9c a0 00 01     l.addi r5,r0,1
  14.    4:   9c 60 00 02     l.addi r3,r0,2
  15.    8:   9c 80 00 03     l.addi r4,r0,3
  16.    c:   9c c0 00 25     l.addi r6,r0,37
  17.   10:   e0 e6 1b 09     l.div r7,r6,r3
  18.   14:   e0 e7 1b 06     l.mul r7,r7,r3
  19.   18:   e0 c6 38 02     l.sub r6,r6,r7
  20.   1c:   19 60 00 00     l.movhi r11,0x0
  21.   20:   bc 06 00 00     l.sfeqi r6,0
  22.   24:   10 00 00 03     l.bf 30 <run+0x30>
  23.   28:   15 00 00 00     l.nop 0x0
  24.   2c:   a9 65 00 00     l.ori r11,r5,0x0
  25.   30:   9c a4 00 01     l.addi r5,r4,1
  26.   34:   9c 63 00 01     l.addi r3,r3,1
  27.   38:   e0 84 23 06     l.mul r4,r4,r4
  28.   3c:   bd 84 00 26     l.sfltsi r4,38
  29.   40:   a8 85 00 00     l.ori r4,r5,0x0
  30.   44:   13 ff ff f2     l.bf c <run+0xc>
  31.   48:   a8 ab 00 00     l.ori r5,r11,0x0
  32.   4c:   20 00 00 00     l.sys 0x0
  33.   50:   bc 2b 00 01     l.sfnei r11,1
  34.   54:   10 00 00 03     l.bf 60 <run+0x60>
  35.   58:   15 00 00 00     l.nop 0x0
  36.   5c:   20 00 00 00     l.sys 0x0
  37.   60:   44 00 48 00     l.jr r9
  38.   64:   15 00 00 00     l.nop 0x0
  39. sb@eee compiler $
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top