summary refs log tree commit diff
path: root/home/.local/bin/nasd
blob: d64b2c3a2a87961f402c7fa6717a06f4ccf66536 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu

dir=$(mktemp -d)
echo 'bits 64' > "${dir}/input"
cat >> "${dir}/input"
nasm -o "${dir}/output" "${dir}/input" || true
ndisasm -b 64 "${dir}/output" || true
rm -r "$dir"
a href='/src/commit/bin/scheme.c?id=0de28f7b4c5b1a2e1ece82043987c4f07b78a9ec&follow=1'>Add xterm output to schemeJune McEnroe