I made a little "assembler" program in Javascript. It basically maps assembly opcodes to their binary equivalents. Might make it easier to write programs for this.
The opcodes are: stp The stop command.
add Adds register A and B and puts the result in C.
sub Subtracts A with B and puts the result in C.
set X,Y Places the value from register X in ram slot Y.
get X,Y Places the value from ram slot Y in register X.
lod X,Y Places the value Y in register X. X can only be A or B.
I guess it isn't real assembly, but with such a limited processor, the simplest thing to do was make this.
To use jeb3's stack to store memory more efficiently (space wise) rather then using pure electronic gates. Problem is that jeb3's stack requires heat-sim to be off. Where as PTCT/NTCT electronics requires heat-sim to be on.