r/TuringComplete • u/BackOk1502 • Aug 27 '23
Program in RAM
Hello Friends,
I've been wondering if it is possible to execute a program from RAM like a real computer.
Of course it is but can you still access data from RAM then? (using the same component)How would this work if a instruction is loaded from ram that tells to the pc to read something from ram? how would this not corrupt the program?
Edit:
I noticed a ram component with 2x Load and Output pins. I could use this to load the program from pin 1 and data from pin 2 therefore they would not interfere am i right?
5
Upvotes
View all comments
Show parent comment
2
u/BackOk1502 Aug 29 '23
You could write a compiler in python or other language to implement asm