Justin Davis set out to build a computer from simple DIP logic chips with just one instruction: move data from one place to another. His One-instruction TTL Computer on Hackaday.io, created on April 19, 2017, makes the destination address do work that an opcode would normally describe. The interesting constraint isn't whether it can calculate, but where the machinery for calculation ends up.
Davis wanted more than a demonstration that could shuffle bytes. His goals included useful execution speed, straightforward program loading and components that were still available—not obsolete parts that would make the computer difficult to reproduce. Those requirements shaped both the build and a later rethink.
A move can also request an addition
The design uses a transport-triggered architecture. Programs consist of source and destination addresses, and the locations can represent RAM, registers or special functions.
For addition, Davis describes moving two bytes into the locations assigned to the adder's inputs. The result appears at a third location on the next clock. Another move can retrieve it. There is no separate ADD instruction for the processor to decode; the choice of addresses selects the operation.
That distinction matters: a one-instruction CPU doesn't eliminate arithmetic hardware or control logic. It changes how software reaches them. The program expresses a calculation as a sequence of transfers, while the hardware gives particular transfers their meaning.
Even the data paths presented tradeoffs. In a July 13, 2017 discussion, Davis said combining the source and destination buses removed about six chips but required adding two back. A smaller parts count was possible, but it changed the work needed to carry out a transfer.
The FPGA version worked before the PCB was sorted out
The project overview records a working, synthesizable VHDL version running on a Digilent Cmod Artix-7 development board. Davis had simple programs using a UART, a monitor/bootloader for loading code over that connection and a basic assembler. That was a working implementation of the architecture, not yet proof that the discrete-logic board behaved the same way.
The late-2017 board logs show why that distinction is useful. In the November 30 clock-gating entry, Davis reported that a glitch on the control ROM's BREAK output produced an approximately 200-nanosecond clock pulse. Some chips responded to it and others didn't. The machine could therefore lose agreement about which step it was executing, even though the intended instruction sequence was sound.
He proposed a capacitor as a short-term filter and identified a clock-circuit redesign as the longer-term answer. Reset timing caused another mismatch: the control circuit expected an extra startup cycle while the program counter did not, causing execution to begin at address 0x0001 rather than 0x0000.
By December 5, Davis had changed the reset circuitry and added the BREAK filter, though he hadn't yet checked whether the filtering would interfere at higher clock speeds. Other repairs involved memory decoding and address-bus enables, with cut traces and jumper wires correcting the PCB. The single-instruction idea simplified what a program could say; it didn't remove the need to coordinate every bus driver and clock edge.
A serial echo exposed an initialization assumption
On December 14, Davis reported that the CPU functions and BREAK command were working, with the UART still to do. BREAK let him run quickly to a chosen point and then single-step the following instruction—a useful bridge between testing individual circuits and debugging a program.
The December 19 entry brought a working UART echo program and a concrete lesson. Davis had initialized a lower register byte while assuming the upper byte had reset to zero. It hadn't. Explicit initialization fixed that problem.
RAM was still not working in that entry, and bringing up the monitor/bootloader on the board remained ahead. In his later January 10, 2020 log, Davis said he eventually got the project working. The intervening fixes aren't documented in these excerpts, so the serial echo is a dated milestone rather than evidence that the whole board was complete that December.
The next simplification would trade hardware for time
The January 2020 architecture revisit returned to an unmet goal: Davis noted that the 74181 ALU was obsolete, contrary to his original component requirement.
His proposed replacement was strikingly small in concept: a ROM lookup table whose entry at each byte address contains that byte plus one. Repeated increments could build addition, and repeated addition could build multiplication. Davis explicitly acknowledged that this would be slow. It was a possible redesign, not a demonstrated replacement in the available logs.
He also proposed an equality test using RAM writes. Store the unequal-case target at an address selected by one byte, then store the equal-case target at an address selected by the other. Reading back the first address reveals which case occurred: if the bytes match, the second write overwrites the first. Here, equality becomes a question of whether two writes reach the same memory location.
These proposals sharpen the project's central tradeoff. Removing an instruction—or even an ALU—doesn't remove the work. It moves that work into address selection, memory accesses and longer transfer sequences. For a revised machine, the revealing test would be a small program's chip count and execution time together: how much hardware can disappear before the extra moves undermine the original goal of a useful computer?
Source: One-instruction TTL Computer