Code Monkey home page Code Monkey logo

8085-simulator's Introduction

8085-simulator

This project is the basic implementation of 8085 microprocessor. It runs some basic commands like: -

load and store commands: MOV, MVI, LXI, LDA, STA, LHLD, SHLD, STAX, XCHG, SET (e.g. SET 2500, AB) arithmetic commands: ADD, ADI, SUB, INR, DCR, INX, DCX, DAD, SUI logical commands: CMA, CMP branching commands: JMP, JC, JNC, JZ, JNZ

It also contains a debugger with the following commands:

“b” to set breakpoints followed by line numbers where you want to set breakpoints. e.g. b 12 for setting breakpoint on line 12 “r” to run the program. “p” to print value of register or memory location. e.g. p A for printing value of register A p x2500 for printing value of location x2500 “s” to run the program, one instruction at a time “q” to quit debugger

The emulator is designed using C++. To compile the project files, copy all the files from folder src to the main folder and type command “make” on the terminal.This will compile all the code files and create the object file “setup” which will be used to run the emulator. The emulator works on two modes of input. User can provide the code via input file (.asm) or one could also write it on the terminal. The user can run the whole code at once or he can also run it in the debugger mode.

All the files of the project are made. You can eithe use an IDE to run the project or create a makefile for it to run it.

Makefile in main folder is used to run the project

8085-simulator's People

Contributors

rishabh26malik avatar

Stargazers

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