aboutsummaryrefslogtreecommitdiff
path: root/basewords_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'basewords_test.go')
-rw-r--r--basewords_test.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/basewords_test.go b/basewords_test.go
new file mode 100644
index 0000000..769036d
--- /dev/null
+++ b/basewords_test.go
@@ -0,0 +1,13 @@
+package j1
+
+import "testing"
+
+func TestBaseWords(t *testing.T) {
+ for word, alu := range BaseWords {
+ t.Run(word, func(t *testing.T) {
+ for _, ins := range alu {
+ t.Logf("%4.0X", ins.Compile())
+ }
+ })
+ }
+}