about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xsubx/diff_ntranslate6
-rwxr-xr-xsubx/diff_translate6
2 files changed, 12 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
diff --git a/subx/diff_translate b/subx/diff_translate
new file mode 100755
index 00000000..d0224fd7
--- /dev/null
+++ b/subx/diff_translate
@@ -0,0 +1,6 @@
+#!/usr/bin/env zsh
+
+subx translate $* -o a0.elf
+xxd a0.elf > a0.xxd
+./translate $*  # into a.elf and a.xxd
+diff a0.xxd a.xxd