r/JessetcSubmissions • u/ShroomyWasTaken • 4d ago
BaB Show Case Turing Machine
This was inspired by https://youtube.com/shorts/HJ4iec9vbIA?si=HtMDkI1wRx1gKNhF as the idea of physical data was cool to me and not an opportunity you get in other logic simulations
2
u/AnaverageuserX 4d ago
In assembly you wrote, it does what you wrote, minus printing. Just al=10, al-=1 if al==0 do not repeat. Pretty cool that you made that, I might get into babft logic gates since I have 5 years of binary logic gates and a very long time with 16 bit assembly ;-;
mov al, 10
LOOP_LABEL:
sub al, 1
jnz LOOP_LABEL
CODE_AFTER1
u/ShroomyWasTaken 4d ago
Hell yeah there’s also so many cool things you could combine it with in build a boat because of the building aspect of it too the only problem with them is how expensive they are.. this uses like 2000 logic gates and a logic gates costs 16 gold so this costed like 32000 gold granted you can just afk grind that gold tho
3
u/ShroomyWasTaken 4d ago
This program just subtracts 1 until it reaches 0 then it resets the value to 10, it can also do stuff like the Fibonacci sequence tho, I do plan on adding a data memory and call stack but right now it’s just taking the value of register 3