view leo-obj/toolwrap/disasm-wrap.sh @ 200:492a6360e64d

leo-obj/frame_na7_db_ir: disassemble frame.obj in order to bring to light the compiled form of that infamous TraceMask[0] = 0; line
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 06 Jun 2015 18:32:49 +0000
parents 21fda9752bd9
children
line wrap: on
line source

#!/bin/sh
if [ $# != 3 ]
then
	echo "usage: $0 objfile hints-file disasm-outfile" >&2
	exit 1
fi

if [ -f $2 ]
then
	set -x
	../tool/tiobjd $1 disasm -h $2 > $3
else
	set -x
	../tool/tiobjd $1 disasm > $3
fi