comparison leo-obj/toolwrap/disasm-wrap.sh @ 140:21fda9752bd9

OSL flash objects: created disasm hints for os_com through os_mis
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 09 Apr 2014 02:40:20 +0000
parents
children
comparison
equal deleted inserted replaced
139:acdf75463e30 140:21fda9752bd9
1 #!/bin/sh
2 if [ $# != 3 ]
3 then
4 echo "usage: $0 objfile hints-file disasm-outfile" >&2
5 exit 1
6 fi
7
8 if [ -f $2 ]
9 then
10 set -x
11 ../tool/tiobjd $1 disasm -h $2 > $3
12 else
13 set -x
14 ../tool/tiobjd $1 disasm > $3
15 fi