Coder Social home page Coder Social logo

kurtjd / hack-computer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 224 KB

My implementation of the Hack computer in HDL as well as software tools such as an assembler, compiler and emulator written in C.

License: MIT License

Makefile 0.55% C 99.45%
assembler assembly digitallogic hack-computer hardware hdl machine-language

hack-computer's People

Contributors

kurtjd avatar scalvin1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

scalvin1 jbro885

hack-computer's Issues

problem

I tried running cadet1620's Trig.hack (26016 instructions) in emulator --> no go.
the assembler disassembles it but there are problems, it does not re-assemble and I find a line 'A=' which is clearly problematic.

I was looking at your vmtranslator because I want to reduce my hack sizes to <32k, I see that there is still some potential, especially in combining instructions like e.g. AMD=M-1 with or without jumps...
(AMD=M-1 instead of M=M-1, D=M, A=M)

Great work in C, by the way!
JK- spin flipper 2010 ... g m ai l

attached.zip

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.