Simple-As-Possible computer explained

The Simple-As-Possible (SAP) computer is a simplified computer architecture designed for educational purposes and described in the book Digital Computer Electronics by Albert Paul Malvino and Jerald A. Brown.[1] The SAP architecture serves as an example in Digital Computer Electronics for building and analyzing complex logical systems with digital electronics.

Digital Computer Electronics successively develops three versions of this computer, designated as SAP-1, SAP-2, and SAP-3. Each of the last two build upon the immediate previous version by adding additional computational, flow of control, and input/output capabilities. SAP-2 and SAP-3 are fully Turing-complete.

The instruction set architecture (ISA) that the computer final version (SAP-3) is designed to implement is patterned after and upward compatible with the ISA of the Intel 8080/8085 microprocessor family. Therefore, the instructions implemented in the three SAP computer variations are, in each case, a subset of the 8080/8085 instructions.[2]

Variants

Ben Eater's Design

YouTuber and former Khan Academy employee Ben Eater created a tutorial building an 8-bit Turing-complete SAP computer on breadboards from logical chips (7400-series) capable of running simple programs such as computing the Fibonacci sequence.[3] Eater's design consists of the following modules:

Ben Eater's design has inspired multiple other variants and improvements, primarily on Eater's Reddit forum. Some examples of improvements are:

Kenbak-1

See main article: Kenbak-1. The Kenbak-1 is an 8-bit computer programmed in pure machine code using an array of buttons and switches. Output consisted of a row of lights. It was first sold in early 1971. Since the Kenbak-1 was invented before the first microprocessor, the machine didn't have a one-chip CPU but was instead based purely on small-scale integration TTL chips. It only offered 256 bytes of memory. The clock speed was 1 MHz, but the program speed averaged below 1,000 instructions per second due the many clock cycles needed for each operation and slow access to serial memory.

References

  1. Book: Malvino. Albert Paul. Digital Computer Electronics. Brown. Jerald A.. McGraw-Hill. 1993. 0-02-800594-5. 3. 140–212.
  2. Book: Malvino. Albert Paul. Digital Computer Electronics. Brown. Jerald A.. McGraw-Hill. 1993. 0-02-800594-5. 3. 143–144.
  3. Web site: 2017-05-01. Geek Builds 8-Bit Computer From Scratch And Explains How Every Part Works. 2021-04-04. Fossbytes. en-US.
  4. Web site: Eater. Ben. Random access memory (RAM) module. 2021-04-05. Ben Eater.
  5. Web site: Eater. Ben. CPU control logic. 2021-04-05. Ben Eater.

External links