Skip to content

A simulator for the 8085 microprocessor, designed to emulate the functionality of a real microprocessor kit using JavaScript, HTML, and CSS. Perfect for educational purposes, it provides an interactive environment for writing, debugging, and executing 8085 assembly language programs.

License

Notifications You must be signed in to change notification settings

ZainAlAbideenKhan/8085Sim

Repository files navigation

8085 Microprocessor Kit Simulator

click to use it directly
Hello Folks,

Overview

Welcome to the 8085 Microprocessor Kit Simulator! This project simulates the functionality of an 8085 microprocessor kit, providing a virtual environment to learn and experiment with microprocessor operations.

NOTE: THIS VERSION DOES NOT INCLUDE ERROR TESTING SO WRITE EVERYTHING CAREFULLY WHILE ENTERING COMMANDS.

HOW TO USE Simulator:

FOR PC

Note - if you made a mistake during input you can press '\', for Backspace.
  1. Entering Code
    1. Type '1' (do not press enter yet)
    2. Type 'a' and press 'Enter'
    3. It will ask for starting Ram address of code.
    4. After Type stating address, Press 'Enter'
    5. Now in the screen you will see the starting address and there you will start entering your instructions
    6. After Typing instruction press enter, Microprocessor will automatically jump to next address for you to enter next instruction
    7. After instering last HLT instruction press reset button
  2. Entering Data
    1. Type M (do not press Enter)
    2. Type your data address and press Enter
    3. After entering data address you will see your data address and previous data stored there(may be garbge)
    4. Type your data and press 'Enter'
    5. Microprocess after 'Enter' will store data and jump to the next location
    6. After data input, press Reset
  3. Entering Data
    1. Type M (do not press Enter)
    2. Type your data address and press Enter
    3. After entering data address you will see your data address and previous data stored there(may be garbge)
    4. Type your data and press 'Enter'
    5. Microprocess after 'Enter' will store data and jump to the next location
    6. After data input, press Reset
  4. Executing Code
    1. Type G (do not press Enter)
    2. Type your starting code address and press Shift + 4 (for '$' character)
    3. After entering code address you will see 'Execution' on screen, which means code is successfully executed.
    4. Press Reset

FOR MOBILE PHONES

  • Everything is same, Each process is same as PC.
  • There are some changes in Keyboard.
    On Mobile devices:-
    1. 'Enter' Key is '.' character
    2. For Backslash use '/' character

Working instructions in this 8085 Microprocessor:-
  • MOV
  • MVI
  • LXI
  • LDA
  • STA
  • LHLD
  • SHLD
  • LDAX
  • STAX
  • XCHG
  • ADD
  • ADI
  • SUB
  • SUI
  • INR
  • DCR
  • INX
  • DCX
  • DAD
  • CMA
  • CMP
  • CPI
  • JMP
  • JC
  • JNC
  • JZ
  • JNZ
  • HLT

Purpose

This project is intended solely for educational purposes. It aims to help students, enthusiasts, and professionals understand and explore the workings of the 8085 microprocessor. Feel free to use this simulator to deepen your knowledge and skills. everything is created by my own efforts including the svg image used for, except font used in 8085 screen.

Usage Policy

Please adhere to the following guidelines while using this project:

  1. Educational Use Only: This project is designed for learning and educational purposes. You are welcome to use and modify the code for your own understanding and educational purposes
  2. No Unauthorized Copying: Do not copy or distribute this project without proper attribution. Copying the project or significant portions of it and presenting it as your own work is strictly prohibited.
  3. Attribution: If you use this project or any part of it in your work, please provide appropriate credit by linking back to this repository.
  4. No Commercial Use: This project is not intended for commercial use. Do not use it to develop or distribute commercial products.

Disclaimer

This simulator is provided "as-is" without any warranties or guarantees. The author is not responsible for any misuse or unintended consequences arising from the use of this project.

About

A simulator for the 8085 microprocessor, designed to emulate the functionality of a real microprocessor kit using JavaScript, HTML, and CSS. Perfect for educational purposes, it provides an interactive environment for writing, debugging, and executing 8085 assembly language programs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published