#! /bin/bash -f
#-----------------------------------------------------------------------
# $Id: dis,v 1.5 2004/04/21 10:58:17 yasu Exp $
#
# WRAPPER for CodeWarrior Disassember
#-----------------------------------------------------------------------

if [ -z "$CWFOLDER_NITRO" ]; then
	export CWFOLDER_NITRO=C:/Program\ Files/Metrowerks/CodeWarrior\ for\ NITRO\ V0.4.1
fi

export PATH=`cygpath "$CWFOLDER_NITRO/ARM_Tools/Command_Line_Tools"`

mwldarm.exe -w off -dis -nostdlib -show only,comments,code,source,names,hex -proc arm9tdmi $1

#-----------------------------------------------------------------------
# $Log: dis,v $
# Revision 1.5  2004/04/21 10:58:17  yasu
# update default CW 0.3 -> 0.4.1
#
# Revision 1.4  2004/03/31 01:53:23  yasu
# Changed to CWFOLDER_NITRO
#
# Revision 1.3  2004/02/05 12:21:14  yasu
# change SDK prefix iris -> nitro
#
# Revision 1.2  2003/12/16 06:08:17  yasu
# Corrected errors
#
# Revision 1.1  2003/12/08 09:46:19  yasu
# Moved from build/buildtools to tools/bin
#
# Revision 1.3  2003/11/29 12:38:54  yasu
# Option correction and support of CW for IRIS
#
# Revision 1.2  2003/11/11 00:36:43  yasu
# Change the first line, bash to /bin/bash -f
#
#-----------------------------------------------------------------------

