Giter Site home page Giter Site logo

mlp's Introduction

MLP

Machine Language Program

Reads in Hex Instructions and executes them

Based on Simple Simulator instructions

OpCode/ Operands Instruction Operation

2 RXY load R,XY register[R]:=XY

1 RXY load R,[XY] register[R]:=memory[XY]

3 RXY store R,[XY] memory[XY]:=register[R]

D 0RS load R,[S] register[R]:=memory[register[S]]

E 0RS store R,[S] memory[register[S]]:=register[R]

4 0RS move S,R register[S]:=register[R]

5 RST addi R,S,T register[R]:=register[S]+register[T] integer add

6 0 Input register[E]:= Input from Keyboard

7 RST or R,S,T register[R]:=register[S] OR register[T] bitwise OR

8 RST and R,S,T register[R]:=register[S] AND register[T] bitwise AND

9 RST xor R,S,T register[R]:=register[S] XOR register[T] bitwise eXclusive OR

A R0X ror R,X register[R]:=register[R] ROR X ROtate Right register R for X times

B RXY jmpEQ R=R0,XY PC:=XY, if R=R0

B 0XY jmp XY PC:=XY

F RXY jmpLE R<=R0,XY PC:=XY, if R<=R0

C 000 halt halt program

mlp's People

Contributors

mowmdown 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.