User Tools

Site Tools


bin-to-db

This is an old revision of the document!


Convert binary file to defb for source


Run this command in linux console:

hexdump -ve '"\t""\t""db""\t" 7/1 "#%02X, " 1/1 " #%02X" "\n"' $1 | sed -r 's/(, #  )+$/\n/'

where $1 is your binary file.


Navigation: asm . compilation . linux . back to start

bin-to-db.1487247070.txt.gz · Last modified: 2017/02/16 13:11 by darkbyte