Giter VIP home page Giter VIP logo

cnguoyj / td4-4bit-cpu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wuxx/td4-4bit-cpu

0.0 1.0 0.0 21.36 MB

simple 4-BIT CPU with 74-serials chip,origin by Kaoru Tonami in his book “How to build a CPU”

Home Page: https://www.amazon.com/Shi-x304-No-Tsukurikata-Dejitaru/dp/4839909865/ref=sr_1_1?ie=UTF8&qid=1447595397&sr=8-1&keywords=4839909865

License: BSD 3-Clause "New" or "Revised" License

C 2.10% Assembly 0.28% HTML 97.62%

td4-4bit-cpu's Introduction

TD4

#LOAD0 = D6 | D7
#LOAD1 = #D6 | D7
#LOAD2 = #(#D6 & D7)
#LOAD3 = #(D6 & D7 & (#C | D4))
SEL_A = D4 | D7
SEL_B = D5

A. 先焊接尺寸小,低的元器件,再焊接高的元器件,推荐焊接顺序如下:
1. 发光LED,二极管1N4148,直插电阻,USB接口。
2. IC插座
3. 8位拨码开关、4位拨码开关
4. 按键开关,电解电容,拨动开关

B. 注意芯片插座,8位拨码开关和4位拨码开关的焊接方向

架构

  1. RAM
  2. 4bit -> 8bit
  3. ALU
  4. 中断

指令

  1. 算术逻辑指令
  2. 寻址方式(立即数寻址、相对寻址、寄存器寻址等)
  3. call push pop

reference0:
指令格式
TD4套件

reference1:
https://hackaday.io/project/8442-ttl-based-4-bit-cpu
https://hackaday.io/project/26215-td4-cpu
http://kamakurium.com/wp-content/uploads/2016/01/cpu_td4
http://visual6502.org/
http://www.4004.com/

td4-4bit-cpu's People

Contributors

wuxx avatar

Watchers

James Cloos 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.