+ Your own instruction set turns a program into words for the memory you built. Labels end with :, comments start with ;.
+ .org 16 moves on to an address, .word 1, 'A', "Hi" puts words as they are, .fill 4, 0 repeats one, N = 5 names a value.
+
| Address | Hex | Binary | Line |
|---|---|---|---|
| {{ hexWord(l.addr + k, 8) }} | +{{ hexWord(w, doc.width) }} | +{{ binWord(w, doc.width) }} | +{{ k ? '' : l.text }} | +
+ Build memory from input panels of switches, one panel per word (in a component, set them to stay inside). Words then go in here, in reading order. +
+ + +{{ target.outside }} of its panels are inputs when it is placed: set them to stay inside to make them its memory.
+ + +