Created
October 21, 2017 02:35
-
-
Save stffrdhrn/2f4fa73c19043fe8166d47895e8a953e to your computer and use it in GitHub Desktop.
openrisc or1k raw binary objdump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# format -b binary | |
# architecture -m or1k | |
# endian big endian -EB | |
$ or1k-elf-objdump -b binary -mor1k -EB -D build/tftpd/boot.bin | more | |
build/tftpd/boot.bin: file format binary | |
Disassembly of section .data: | |
00000000 <.data>: | |
0: 00 00 00 40 l.j 0x100 | |
4: 15 00 00 00 l.nop 0x0 | |
... | |
100: 19 e0 c0 2a l.movhi r15,0xc02a | |
104: a9 ef 80 00 l.ori r15,r15,0x8000 | |
108: 19 a0 80 00 l.movhi r13,0x8000 | |
10c: e1 ad 78 00 l.add r13,r13,r15 | |
110: 44 00 68 00 l.jr r13 | |
114: 15 00 00 00 l.nop 0x0 | |
... | |
200: b4 00 00 0b l.mfspr r0,r0,0xb | |
204: d4 00 f0 78 l.sw 120(r0),r30 | |
208: d4 00 50 7c l.sw 124(r0),r10 | |
20c: d4 00 08 80 l.sw 128(r0),r1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment