Giter VIP home page Giter VIP logo

discord-cpu-emulator's Introduction

A mips 32 emulator that is interfaced with a discord bot

Work in progress features

  • Assembler
    • Tokenizer
    • Syntax Analyzer
    • Discord Assembly Input
  • interpreter
    • Instruction Declaration
    • Execution Callbacks
    • Interrups
    • Syscall
  • THE KERNEL
    • Process Managment
      • Scheduler
      • Virtual Stack
      • Virtual Registers
    • Memory Management
      • Malloc like calls
      • Memory Mapped Peripherals
        • Permenant Network Socket
        • Standard Out
        • Standard In

Work in progress assembly format

lw $s0 $s0 0x420
test:
  #this is a comment
  addi $s0 $s0 0x69 
  #Hex Numbers
  addi $s0 $s0 420 
  #Decimal Numbers
j->test

Commands so far

/dump_mem <offset> ->
0x08: 0x20 0x94 0x06 0x00 0x69 0x20 0x04 0x00 
0x10: 0xef 0xbe 0xad 0xde 0x00 0x00 0x00 0x00 
0x18: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x20: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x28: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x30: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x38: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x40: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x48: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x50: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x58: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x60: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x68: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x70: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x78: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x80: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x88: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x90: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x98: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xa0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xa8: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xb0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xb8: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xc0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xc8: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xd0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xd8: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xe0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xe8: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xf0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0xf8: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x100: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
/dump_reg ->
ZERO: 0x00
AT: 0x00
V0: 0x00
V1: 0x00
A0: 0x00 A1: 0x00 A2: 0x00 A3: 0x00 A4: 0x00 A5: 0x00 A6: 0x00 A7: 0x00 
T0: 0x00 T1: 0x00 T2: 0x00 T3: 0x00 T4: 0x00 T5: 0x00 T6: 0x00 T7: 0x00 
S0: 0x00 S1: 0x00 S2: 0x00 S3: 0x00 S4: 0x00 S5: 0x00 S6: 0x00 S7: 0x00 
K0: 0x00
K1: 0x00
GP: 0x00
SP: 0x00
FP: 0x00
RA: 0x00

discord-cpu-emulator's People

Contributors

deastl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discord-cpu-emulator's Issues

Docs

Needs a documentation webpage.

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.