Coder Social home page Coder Social logo

8-bit's Introduction

This is a von Neumann 8-bit breadboard computer with:

  • 16-bytes of RAM
  • 1 memory address register
  • 1 instruction register
  • 1 program counter
  • 2 general-purpose registers
  • 1 arithmetic logic unit
  • 1 flags register with 2 flags (carry and zero)
  • 1 output register with 7-segment displays
  • 16 microinstructions and 11 instructions (including conditional and unconditional jumps) managed by 2 EEPROMs
Control Pin Function
HLT Halt Clock
MI Memory Address Register (IN)
RI RAM (IN)
RO RAM (OUT)
IO Instruction Register (OUT)
II Instruction Register (IN)
AI Register A (IN)
AO Register A (OUT)
SU Subtract
EO Arithmetic Logic Unit (OUT)
BI Register B (IN)
OUT Output Register (IN)
CE Program Counter (ENABLE)
CJ Program Counter (JUMP)
CO Progarm Counter (Out)
FI Flags Register (IN)
Instruction Function Control Sequence
NOP No operation (CO MI) (RO II CE)
LDA Load register A with contents in xxxx (CO MI) (RO II CE) (IO MI) (RO AI)
ADD Add contents in register A and xxxx (CO MI) (RO II CE) (IO MI) (RO BI) (EO AI FI)
SUB Subtract contents in register A and xxxx (CO MI) (RO II CE) (IO MI) (RO BI) (EO AI SU FI)
STA Store contents in register A at xxxx (CO MI) (RO II CE) (IO MI) (AO RI)
LDI Immediately load xxxx to register A (CO MI) (RO II CE) (IO MI) (IO AI)
JMP Jump to program stored in xxxx (CO MI) (RO II CE) (IO MI) (IO CJ)
JC Jump to program stored in xxxx if carry flag is set (CO MI) (RO II CE) (IO MI) (IO CJ)*
JZ Jump to program stored in xxxx if zero flag is set (CO MI) (RO II CE) (IO MI) (IO CJ)*
OUT Dump register A contents to output register (CO MI) (RO II CE) (IO MI) (AO OUT)
HLT Halt clock signal (CO MI) (RO II CE) (IO MI) (HLT)
Program Date YouTube
Fibonacci Sequence 07/24/24 https://youtu.be/Rl5dPWCrEBQ
Counting w/ Jump Carry & Zero Flags 06/20/24 https://youtu.be/w5fmc0aoqj8
Counting w/ EEPROM Control Logic 06/02/24 https://youtu.be/Gm3HwKCBr_c
Blinky Program 06/02/24 https://youtu.be/H7Rrt8iaJPc
Testing LDI & STA Instructions 06/01/24 https://youtu.be/u_UtnhLg71E
Addition & Subtraction 06/01/24 https://youtu.be/H69gBVl0mco
Counting w/ Manual Control Logic 05/25/24 https://youtu.be/cGufHGSTiuM
Testing the ALU 04/10/24 https://youtu.be/OblWvOqAwRo

SIM-8 PROGRAMS (JULY 2024).pdf

8-bit's People

Contributors

junyoung-sim avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.