Posted March 09, 2017
I don't know all of them yet...
nop -> Do nothing when this code is executed
mov A B -> Move A to B
jmp A -> Jump to label A
slp X -> Sleep X cycles
slx A -> Sleep until input on A (needs to be XBus)
teq A B -> A equals B
tgt A B -> A greater than B and A less than B nop
tlt A B -> A less than B and A greater than B nop
tcp A B -> A greater than B and A less than B is negative
add X -> Add X to acc
sub X -> Sub X from acc
mul X -> Multiply acc X times (this is new and great)
not -> swap states in acc 0 to 100 OR !0 to 0
dgt X -> Store the digit X of acc in acc (X [0-2])
dst X Y -> Set the digit at X of acc to Y (X [0-2] Y [0-9])
gen A X Y -> generate 100 power at A for X cycles and then 0 power at A for Y cycles
MCXXXX have a few XBus for data and a few I/O for power, plus storage for code
DXXXX have XBus to get data and three I/O for power, depending on the input at any XBus the I/O are turned on/off 100 = p2, 011 = p0,p1, 000 = off OR if power goes into the p0-2 then the code is sent through the XBus and can be read
The memory modules can be read and written at either d0 or d1
The current address for 0 or 1 can be read or written at either a0 or a1
a0 is the address for d0
a1 is the address for d1
the address automatically advances by one if memory is read or written via d0,1 (d0 advances only a0 and d1 advances a1)
nop -> Do nothing when this code is executed
mov A B -> Move A to B
jmp A -> Jump to label A
slp X -> Sleep X cycles
slx A -> Sleep until input on A (needs to be XBus)
teq A B -> A equals B
tgt A B -> A greater than B and A less than B nop
tlt A B -> A less than B and A greater than B nop
tcp A B -> A greater than B and A less than B is negative
add X -> Add X to acc
sub X -> Sub X from acc
mul X -> Multiply acc X times (this is new and great)
not -> swap states in acc 0 to 100 OR !0 to 0
dgt X -> Store the digit X of acc in acc (X [0-2])
dst X Y -> Set the digit at X of acc to Y (X [0-2] Y [0-9])
gen A X Y -> generate 100 power at A for X cycles and then 0 power at A for Y cycles
MCXXXX have a few XBus for data and a few I/O for power, plus storage for code
DXXXX have XBus to get data and three I/O for power, depending on the input at any XBus the I/O are turned on/off 100 = p2, 011 = p0,p1, 000 = off OR if power goes into the p0-2 then the code is sent through the XBus and can be read
The memory modules can be read and written at either d0 or d1
The current address for 0 or 1 can be read or written at either a0 or a1
a0 is the address for d0
a1 is the address for d1
the address automatically advances by one if memory is read or written via d0,1 (d0 advances only a0 and d1 advances a1)
Post edited March 13, 2017 by disi