Git Product home page Git Product logo

betamp-2017's Introduction

ß-2017

A Custom Microprocessor made with logisim.

betamp-2017's People

Contributors

alessiogiacobbe avatar semsaudade avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

semsaudade

betamp-2017's Issues

B2018.circ instruction IN A,(n1) [opcode DB] does not read n1

As it is, this opcode uses the current value of the program counter as the port to request (meaning that its function depends on its position in the program, which it should not), instead of requesting the next byte from memory and using that value as the port to request. (It also then treats the next byte as a new opcode, which is especially problematic.)

I came up with my own solution (comparing the implementation for OUT (n1),A [opcode D3] with what was already there for DB, and making modifications until it worked like I thought it should), but had kept it to myself because I just didn't know enough to know if I was doing it right. But then I found Goran Devic's work and in particular here, and I saw that it looked similar to what I had figured out.

Originally:
00030000 00031000 00030000 00000020 88000400 00031200 00030000 00000408
88000600 88000040 00800200 00800000 00800200 00019000 88000800 88004000

My fix:
00819000 00819200 00000020 88000400 00031200 00030000 00000408 88000600
88000040 00800200 00800000 00800200 00019000 88000800 88004000 00000000

I am very new to this, and I welcome any corrections or further insight. Thank you.

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.