arctic/tools/x86dump

7 lines
92 B
Bash
Executable file

#!/bin/bash
tmp="$(mktemp)"
cat >"$tmp"
nasm "$@" "$tmp" -o /dev/stdout | xxd -p
rm "$tmp"