about summary refs log tree commit diff stats
path: root/subx/diff_ntranslate
diff options
context:
space:
mode:
Diffstat (limited to 'subx/diff_ntranslate')
-rwxr-xr-xsubx/diff_ntranslate6
1 files changed, 6 insertions, 0 deletions
diff --git a/subx/diff_ntranslate b/subx/diff_ntranslate
new file mode 100755
index 00000000..a6fb3737
--- /dev/null
+++ b/subx/diff_ntranslate
@@ -0,0 +1,6 @@
+#!/usr/bin/env zsh
+
+subx translate $* -o a0.elf
+xxd a0.elf > a0.xxd
+./ntranslate $*  # into a.elf and a.xxd
+diff a0.xxd a.xxd