9 lines
159 B
Bash
Executable File
9 lines
159 B
Bash
Executable File
#! /bin/bash
|
|
|
|
echo -ne "" > "$1.lst"
|
|
[ -z "$NASM" ] && NASM=nasm
|
|
"$NASM" "$1.asm" -D_MAP="$1.map" -l "$1.lst" -f bin -o "$@" -I ../
|
|
cat "$1.lst"
|
|
ndisasm "$1"
|
|
|