view leo-obj/toolwrap/disasm-wrap.sh @ 197:cf3b4cb3d212

bootrom.notes typo fix (courtesy of pfalcon <pmiscml@gmail.com>)
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Thu, 16 Apr 2015 04:12:48 +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