Simple-As-Possible computer

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

High-level overview of Ben Eater's breadboard SAP computer.

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:

  • An adjustable-speed (upper limitation of a few hundred Hertz) clock module that can be put into a "manual mode" to step through the clock cycles.
  • Three register modules (Register A, Register B, and the Instruction Register) that "store small amounts of data that the CPU is processing."
  • An arithmetic logic unit (ALU) capable of adding and subtracting 8-bit 2's complement integers from registers A and B. This module also has a flags register with two possible flags (Z and C). Z stands for "zero," and is activated if the ALU outputs zero. C stands for "carry," and is activated if the ALU produces a carry-out bit.
  • A RAM module capable of storing 16 bytes. This means that the RAM is 4-bit addressable. As Eater's website puts it, "this is by far its [the computer's] biggest limitation".[4]
  • A 4-bit program counter that keeps track of the current processor instruction, corresponding to a 4-bit addressable RAM.
  • An output register that displays its content on four 7-segment displays, capable of displaying both unsigned and 2's complement signed integers. The 7-segment display outputs are controlled by EEPROMs, which are programmed using an Arduino microcontroller.
  • A bus that connects these components together. The components connect to the bus using tri-state buffers.
  • A "control logic" module that defines "the opcodes the processor recognizes and what happens when it executes each instruction,"[5] as well as enabling the computer to be Turing-complete. The CPU microcodes are programmed into EEPROMs using an Arduino microcontroller.

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

  • An expanded RAM module capable of storing 256 bytes, utilizing the entire 8-bit address space. With the help of segmentation registers, the RAM module can be further expanded to a 16-bit address space, matching the standard for 8-bit computers.
  • A stack register that allows incrementing and decrementing the stack pointer.

References

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

Read other articles:

Open space in Bristol, England, UK This article is about the public open space and transport interchange. For the central area of Bristol, see Bristol city centre. The Centre, BristolView of northern end of The Centre, March 2018, before removal of Colston statueLocation within Central BristolFormer name(s)Tramways CentreMaintained byBristol City CouncilLocationBristol, EnglandPostal codeBS1Coordinates51°27′14″N 2°35′50″W / 51.4540°N 2.5972°W / 51.4540; -2....

 

 

Tienoxolol Names IUPAC name Ethyl 2-[3-(tert-butylamino)-2-hydroxypropoxy]-5-(thiophene-2-carbonylamino)benzoate Identifiers CAS Number 90055-97-3 Y 3D model (JSmol) Interactive image ChemSpider 59107 PubChem CID 65678 UNII 44MR81YQ9R Y InChI InChI=1S/C21H28N2O5S/c1-5-27-20(26)16-11-14(23-19(25)18-7-6-10-29-18)8-9-17(16)28-13-15(24)12-22-21(2,3)4/h6-11,15,22,24H,5,12-13H2,1-4H3,(H,23,25)Key: PHMRLCQEIQGCHH-UHFFFAOYSA-NInChI=1/C21H28N2O5S/c1-5-27-20(26)16-11-14(23-19(25)18-7-6-...

 

 

Disambiguazione – Se stai cercando il duca di Svevia che regnò negli anni 1105-1147, vedi Federico II di Svevia (duca). Federico II di HohenstaufenRitratto di Federico II con il falco dal suo trattato De arte venandi cum avibusImperatore dei RomaniStemma In carica22 novembre 1220 –13 dicembre 1250 Incoronazione22 novembre 1220 PredecessoreOttone IV SuccessoreCorrado IV Re di Siciliacome Federico IIn carica27 novembre 1198 –13 dicembre 1250 Incoronazione17 maggio 1198 Predece...

—— Permukiman di Uni Emirat Arab —— Muhaisnahمحيصنة Negara Uni Emirat Arab Emirat Dubai Kota Dubai Statistik permukiman Luas 13 km² Jumlah penduduk 90,870 [1] (2000) Kepadatan penduduk 6,990/km² Permukiman sekitarnya Al Qusais, Mirdif, Al Twar, Al Mizhar Koordinat 25°26′41″N 55°42′53″E / 25.44472°N 55.71472°E / 25.44472; 55.71472 Muhaisnah (Arab: محيصنةcode: ar is deprecated ) merupakan sebuah wilayah di Dubai,...

 

 

Lin DanLin Dan pada Jerman Terbuka 2011.Informasi pribadiNamaSuper DanNama lahir林丹Kebangsaan TiongkokLahir14 Oktober 1983 (umur 40)Longyan, Fujian, Republik Rakyat CinaTinggi178 cm (5 ft 10 in)[1]Berat70 kg (154 pon)[1]Pensiun4 Juli 2020PeganganKiriPelatihXia XuanzeTunggal putraRekor662 menang, 131 kalahGelar66Peringkat tertinggi1 (26 Februari 2004) Rekam medali Bulu tangkis Mewakili  Tiongkok Olimpiade Beijing 2008 Tunggal putr...

 

 

For other uses, see Shënkoll (disambiguation). Municipal unit in Lezhë, AlbaniaShënkollMunicipal unitShënkollCoordinates: 41°41′N 19°39′E / 41.683°N 19.650°E / 41.683; 19.650Country AlbaniaCountyLezhëMunicipalityLezhëPopulation (2011) • Municipal unit13,102Time zoneUTC+1 (CET) • Summer (DST)UTC+2 (CEST) Shënkoll (Albanian for St. Nicholas) is a village and a former municipality in the Lezhë County, northwestern Albania....

Company Liverpool VictoriaTrade nameLV=Company typePrivateIndustryFinancial servicesFounded1843HeadquartersWestbourne area of Bournemouth, United KingdomProductsInsurance, savings, equity releaseNumber of employees5,700Websitewww.lv.com Liverpool Victoria, trading since May 2007 as LV=, is one of the United Kingdom's largest insurance companies. It offers a range of insurance and retirement products. History The first hundred years The first known meeting of the Liverpool Victoria Friendly So...

 

 

 CC27 Stasiun MRT Labrador Park拉柏多公园地铁站லாப்ரடார் பூங்காStesen MRT Taman LabradorAngkutan cepatPintu masuk ke Stasiun MRT Labrador Park.Lokasi701 Telok Blangah RoadSingapore 109029Koordinat1°16′20″N 103°48′10″E / 1.272267°N 103.802908°E / 1.272267; 103.802908OperatorSMRT Trains (SMRT Corporation)Jalur  Jalur Lingkar Jumlah peronIslandJumlah jalur2LayananBus, TaksiKonstruksiJenis strukturBawah ...

 

 

Re-enactment of the first public demonstration of general anesthesia by William T. G. Morton on October 16, 1846, in the Ether Dome at Massachusetts General Hospital, Boston. Surgeons John Collins Warren and Henry Jacob Bigelow are included in this daguerrotype by Southworth & Hawes. The Bulfinch Building, home of the Ether Dome Throughout recorded history, attempts at producing a state of general anesthesia can be traced back to the writings of ancient Sumerians, Babylonians, Assyrians,...

この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: コルク – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2017年4月) コルクを打ち抜いて作った瓶の栓 コルク(木栓、�...

 

 

Questa voce o sezione sull'argomento politici italiani non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Renzo Laconi Deputato della Repubblica ItalianaLegislaturaI, II, III, IV GruppoparlamentarePCI CircoscrizioneSardegna CollegioCagliari Sito istituzionale Dati generaliPartito politicoPartito Comunis...

 

 

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Fédération étudiante universitaire du Québec – news · newspapers · books · scholar · JSTOR (January 2010) (Learn how and when to remove this message)...

Village in Gaza, Mandatory Palestineal-Jiyya الجيةal-Jeya, al-Jiya, Ed-Deir, EjjehVillageEtymology: water collector[1][2] 1870s map 1940s map modern map 1940s with modern overlay map A series of historical maps of the area around Al-Jiyya (click the buttons)al-JiyyaLocation within Mandatory PalestineCoordinates: 31°37′46″N 34°35′53″E / 31.62944°N 34.59806°E / 31.62944; 34.59806Palestine grid111/115Geopolitical entityMandatory Pales...

 

 

SunlightJenis produkDeterjen pembersih peralatan makananPemilikUnilever (kecuali Jerman dan Belanda); Sun Products (Jerman, Belanda dan Eropa Utara)NegaraBritania RayaDiluncurkan1884PasarSeluruh dunia Kemasan Sabun Sunlight dari Belgia. Iklan Sabun Sunlight yang menggambarkan parit-parit Perang Dunia I (1915) Sunlight adalah merek sabun cuci, deterjen, dan sabun cuci piring yang diproduksi dan dipasarkan di seluruh dunia oleh Unilever, kecuali di Amerika Serikat dan Kanada, di mana merek ini ...

 

 

Song from Disney's Peter Pan What Made the Red Man Red? is a song from the 1953 Disney animated film Peter Pan with music by Sammy Fain and lyrics by Sammy Cahn, in which the natives tell their story through stereotypical dance while singing.[1] Some modern audiences consider it “racist and offensive”[2] due to its exaggerated stereotypes.[3] Although a similar depiction was displayed within J. M. Barrie's original play, later adaptations have reimagined the Native...

2017 American comedy television series One Day at a TimeGenreSitcom[1]Based onOne Day at a Timeby Whitney BlakeAllan ManingsDeveloped by Gloria Calderón Kellett Mike Royce Starring Justina Machado Todd Grinnell Isabella Gomez Marcel Ruiz Stephen Tobolowsky Rita Moreno Opening themeThis Is It by Gloria EstefanEnding themeThis Is It (instrumental)Composers Jeff Barry Nancy Barry Country of originUnited StatesOriginal languageEnglishNo. of seasons4No. of episodes46 (list of episodes)Pro...

 

 

American professional soccer team Not to be confused with Atalanta BC. Soccer clubAtlanta UnitedFull nameAtlanta United Football Club[1]Nickname(s)The Five StripesShort nameATL UTDFoundedApril 16, 2014; 10 years ago (2014-04-16)StadiumMercedes-Benz StadiumCapacity42,500 (expandable to 71,000, standing room to at least 73,019)[2]OwnerArthur BlankPresidentGarth LagerweyHead coachRob Valentino (interim)LeagueMajor League Soccer2023Eastern Conference: 6thOverall:...

 

 

El alma no tiene colorGenreTelenovelaPercintaanDramaPembuatJoselito RodríguezAlberto GómezDitulis olehAlberto GómezRicardo TejedaSutradaraOtto SirgoAntulio Jiménez PonsPemeranLaura FloresArturo PenicheCelia CruzLorena RojasClaudia IslasLagu pembukaEl alma no tiene color oleh Laura Flores dan Marco Antonio SolísNegara asalMeksikoBahasa asliSpanyolJmlh. episode90ProduksiProduser eksekutifJuan OsorioProduserPablo Noceda PérezLokasi produksiSyutingTelevisa San Ángel Kota Meksiko, MeksikoS...

贝卢瓦圣莱奥纳尔Belloy-Saint-Léonard 法國市镇 徽章贝卢瓦圣莱奥纳尔的位置 贝卢瓦圣莱奥纳尔显示法国的地图贝卢瓦圣莱奥纳尔显示索姆省的地图坐标:49°54′24″N 1°54′13″E / 49.9067°N 1.9036°E / 49.9067; 1.9036国家 法國大区 上法蘭西大區省 索姆省区亚眠区面积1 • 市镇6.55 平方公里(2.53 平方英里)人口(2021年)[1] •...

 

 

ХуторТоматный 44°02′42″ с. ш. 42°46′37″ в. д.HGЯO Страна  Россия Субъект Федерации Ставропольский край Муниципальный округ Предгорный История и география Высота центра 700 м Часовой пояс UTC+3:00 Население Население ↗200[1] человек (2014) Цифровые идентификаторы Те...