aboutsummaryrefslogtreecommitdiff
path: root/basewords_test.go
blob: a1dd9174f0f23790e5f330dca4c0f82c806f2fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package j1

import "testing"

func TestBaseWords(t *testing.T) {
	for word, alu := range BaseWords {
		t.Run(word, func(t *testing.T) {
			buf := make([]uint16, len(alu))
			for i, ins := range alu {
				buf[i] = ins.Compile()
			}
			t.Logf("%4.0X", buf)
		})
	}
}