Skip to content

btenc/assembly-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsmVis - Assembly Visualizer

HOW TO RUN APPLICATION DEMO

  • Install NPM dependencies with npm install
  • Seed the database with npm run seed
  • Start the web server with npm run start
  • Direct browser to http://localhost:3000/

HOW TO EXPLORE ASMVIS

As a guest...

While logged in...

How to use the interpreter...

  • Using the AsmVis16 supported instructions, create an assembly like program.

Example: Calculate the factorial of 5 program.

MOV R0, 5
MOV R1, 1
MOV R2, 1
JNZ R0, 6
JMP 9
MUL R1, R0
DEC R0
JMP 4
MOV R3, R1
  • Load the program, which will check for any syntax errors. Interpreting is disabled while there are errors!

  • "Run Step" Run the next step of the program.

  • "Run All" Interpret entire program until complete.

PROJECT DESCRIPTION:

  • “AsmVis”, an assembly interpreter used to simulate assembly instructions into processes that manipulate CPU registers stored as Javascript objects. Users can login, save and share snippets of assembly-like code, and interpret the snippets on the website using client-side Javascript. Includes visualizations as instructions are parsed, such as viewing register values as the user steps through.

CORE FEATURES:

  • Users can type, then run or step through programs written in an assembly-like syntax in a code editor.

  • Users can visualize CPU register values in real time the program is stepped through.

  • Users can save and share code snippets.

  • Users can delete code snippets from their accounts.

  • Syntax highlighting / parsing errors

  • Support for arithmetic functions

  • Instruction counter

  • Bitwise operations

  • Jump operations

REFERENCES:

About

AsmVis... CS546 Final project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5