readme

来自「也是DC的一个源代码」· 代码 · 共 20 行

TXT
20
字号
Minimalistic README for the binutils-based disassembly toolWell, basically I got fed up with binutils themselves refusing to toucha binary file (or any vaguely smelly elf files), so I broke out theirlibs and wrote my own interface to it all =). The usage is simple. Thefirst parameter is a filename of a binary file, presumably containingSH4 binary code. The second parameter is the VMA (virtual memory address)of the code, which is where it expects to be running in memory. A 1ST_READwould expect to be at 8c010000, the BIOS would expect 00000000 (thoughthat one's a bit more complicated =), etc. A nicely formatted disassemblysimilar to dcdis.exe for Windows will be dumped to the stdout. The maindifference is that the columns are lined up, thanks to libopcodes, and the hex numbers are 0xdeadbeef instead of H'DEADBEEF.The included binary (if you can't get it to compile, no big surprise, ittook me a while too =) is for Linux glibc2.1. No weird lib dependenciesso it ought to work under, e.g., the FreeBSD emulation too.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?