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

dir=$(mktemp -d)
trap 'rm -r "$dir"' EXIT

echo 'bits 64' >"${dir}/input"
for ins; do
	printf '%s\n' "$ins" >>"${dir}/input"
done
[ $# -eq 0 ] && cat >>"${dir}/input"

nasm -o "${dir}/output" "${dir}/input"
ndisasm -b 64 "${dir}/output"
llow=1'>Avoid excessive tags in ttpreJune McEnroe 2019-02-10Generate html for binsJune McEnroe 2019-02-10Use italic for underline in nvim man modeJune McEnroe 2019-02-10Add plain text "language" to hiJune McEnroe 2019-02-10Don't match DQ string inside SQ stringJune McEnroe 2019-02-10Skip only one character if a match fails due to parentJune McEnroe 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML " escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe