A collaborative digital-logic project where we designed and bread-boarded a 4-bit RISC-style CPU, wrote a minimal instruction set architecture, and built two demo programs, an LED Battleship game and a Fibonacci calculator, entirely in our own custom assembly language.
The work covered hardware description, micro-architecture, and low-level software development, from wiring the datapath and control logic on a breadboard to writing an assembler and the assembly programs that run on it.
An instruction pulse moving through the datapath: fetch, decode, execute, memory-mapped I/O, write-back.
4-bit opcode, 3-bit register fields, 6-bit immediates.
One hard-wired to zero, three general purpose.
Add, sub, and zero-detect for branching.
Shared data/I/O space to drive LEDs & read buttons.