
Video: Redstone Computer Tutorial - Episode 12 - Building the First Register by Redstone Without Limits
How to build it
- Lay Out the 4-Bit Data Lines
Place four parallel lines of building blocks (such as black wool) with one-block gaps between them to represent the four bits of your register. Leave at least two blocks of space between the stages along the length of the lines.
- Install the Repeater Locks
Place one redstone repeater on each of the four data lines to hold the incoming bits. Next to each data repeater, place a second repeater facing directly into its side so it can lock and unlock the data repeater.
- Wire the Clock Line
Build a bridge line of blocks across the four locking repeaters, stepping up over the data lines as needed so the signals do not cross. Run redstone dust along this bridge into all four locking repeaters and place a redstone torch at the control end so the repeaters stay locked by default.
- Build the Input Enable Gates
At the input end of the four data lines, place a redstone comparator on each line and right-click it to turn on subtraction mode (front torch lit). These comparators act as toggle switches to control when data is allowed into the register.
- Connect the Write Enable Line
Run a horizontal redstone line across the sides of all four input comparators and power it with a redstone torch. When this torch is active, it subtracts full signal strength from the comparators and blocks incoming data until you invert the line to enable writing.
- Build the Output Enable Gates
Extend the four data lines out from the back of the storage repeaters using stone blocks. Place another set of four redstone comparators on these output lines and set all four to subtraction mode.
- Connect the Read Enable Line
Run a second horizontal redstone line feeding into the sides of the four output comparators, powered by another redstone torch. This keeps the stored value from automatically flowing out to the rest of the CPU until the read line is enabled.
- Test Loading and Reading a Value
Input a 4-bit binary number (like 0101 for 5) at the front, power the input enable line to let the data reach the repeaters, and send a quick pulse to the clock line to lock the value in place. Toggle the output enable line whenever you want to send the stored number out to your ALU.
How it works
This 4-bit accumulator register relies on two core vanilla redstone mechanics: repeater locking and comparator subtraction gates.
- Input Gating (Write Enable): Each of the 4 input bits passes through a
redstone comparatorset to subtraction mode. A perpendicular control line powered by aredstone torchfeeds signal strength into the side of every comparator, blocking signals from passing through. Turning off that torch enables the input, letting the 4-bit binary data reach the storage stage. - Memory Storage (Clocking): Each bit line has a
redstone repeaterwith a second repeater pointing into its side. Because the side repeaters are powered by a default-on torch line, the data repeaters remain locked (displaying a bedrock bar) and hold their current on/off state indefinitely. Sending a brief pulse to turn off the locking torch unlocks the repeaters just long enough to capture the new 4-bit value before locking it again. - Output Gating (Read Enable): A second bank of subtraction-mode comparators sits on the output lines. Even though the locked repeaters continuously output their stored bits, the output comparators block the signal until the control unit toggles the read-enable line to send the data to the ALU.
Tips & variations
- Signal Reach across 4 Bits: A single redstone torch has a signal strength of 15, which easily stretches across all four bit lines for the enable and clock controls without needing extra repeaters in the middle.
- Color Coding: Use distinct blocks (like black wool for the register body and stone for data buses) so you can easily trace input, output, read, and write lines as your CPU grows.
- Clock Pulse Timing: When loading a value, make sure the input enable line is active before and during the clock pulse; if you disable the input before the locking repeaters re-lock, the register will store zeroes instead.





