User Tools

Site Tools


bin-to-db

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
bin-to-db [2013/01/11 12:32] – created darkbytebin-to-db [2017/11/25 17:42] (current) darkbyte
Line 1: Line 1:
-=== convert binary file to defb for source === +====Convert binary file to defb for source====
-//issue this command in linux console://+
  
-<code>+---- 
 + 
 +Run this command in linux console: 
 + 
 +<code bash>
 hexdump -ve '"\t""\t""db""\t" 7/1 "#%02X, " 1/1 " #%02X" "\n"' $1 | sed -r 's/(, #  )+$/\n/' hexdump -ve '"\t""\t""db""\t" 7/1 "#%02X, " 1/1 " #%02X" "\n"' $1 | sed -r 's/(, #  )+$/\n/'
 </code> </code>
  
-//where $1 is your binary file.//+where //$1// is your binary file. 
 + 
 +---- 
 + 
 +**Navigation: [[asm]] . [[compilation]] . [[linux]] . [[windows]] . [[mac]] . back to [[start]]**
bin-to-db.1357903939.txt.gz · Last modified: 2013/01/11 12:32 by darkbyte