ALU (7: Flags) - Making an 8 Bit pipelined CPU - Part 31 @weirdboyjim
ALU (7: Flags) - Making an 8 Bit pipelined CPU - Part 31  @weirdboyjim
Uploaded April 2019 | Updated September 2026, 1 week ago
There are 3 flags in the ALU, in this video I pull them all together and add LED indicators. The zero flag is built by constructing an 8 input NOR gate from 2x5 input NOR gates (The 74LS260) and then merging the outputs with one of the gates from a 74LS21 2x4 input AND chip. This really should have been done with a 2 input AND gate but that one is what I had to hand.

Flag states (for arithmetic carry and logical carry) are held in the usual 74LS574 D-Type latch chip. There is no use of the flags outside of the ALU yet but eventually they will be connected back to the pipeline for conditional jumps etc.
ALU (7: Flags) - Making an 8 Bit pipelined CPU - Part 31LCD Improved - Making an 8 Bit pipelined CPU - Part 93Mailbag #4 Heavy MetalNoise Reducing My PCClock Select - Making an 8 Bit pipelined CPU - Part 76Backplane Troubleshooting - Making an 8 Bit pipelined CPU - Part 103MiniAMP kit buildMemory PCB - Making an 8 Bit pipelined CPU - Part 73Synthesizer Channel PCB - Audio from Scratch - Part 8Remastering Snek on the Homebrew CPU!The Sieve of EratosthenesExploring with my new Scope - Making an 8 Bit pipelined CPU - Part 58
James Sharman |

ALU (7: Flags) - Making an 8 Bit pipelined CPU - Part 31

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER