Close

Control Logic Update and Added an Input Port

A project log for CHUMP

CHUMP stands for Cheap Homebrew Understandable Minimal Processor. It is the invention of Dave Feinberg.

agpcooperagp.cooper 09/01/2021 at 03:230 Comments

Control Logic Update

The STORE instruction does not update the the memory address. Here is an update of the Control Logic:

Adding an Input Port

It was noted that the STORE instruction sets the memory address when executed. The Accumulator is written memory during the next instruction. Therefore the instruction that follows the STORE cannot read the memory as the memory output is tri-state during a write.

I have taken advantage of this by reading a port during a memory write. Therefore an instruction that tries to read memory after a STORE instruction will actually read the port.

For this CPU, the user can store multiple programs and provide input to these programs.

The Accumulator can provide the output.

AlanX

Discussions