Close

Memory interfacing

A project log for One-instruction TTL Computer

A breadboard-able computer which uses only a single instruction - MOVE

justin-davisJustin Davis 04/22/2017 at 17:470 Comments

I've been thinking how to interface with the memory. I want a single memory bank. A lot of projects do separate instruction and data memory mainly because it's easier. But really no modern computers do this. I'd also like to have a page of the memory available for direct access. I can have 128 memory locations to move data into and out of. It's like having 128 registers.

So I'll need two memory pointers to access this page. And then I'll need two separate registers to store the program counter. It should also be possible to have them be the same. Then the page available is also the page executing code. I could pull addresses or constants right out of the instruction memory. Or do self-modifying code. Gives me lots of options which I really love.

Discussions