Skip to content

2pass Assembler for a custom assembly language called SIMPLE & Emulator which emulates the assembled instructions using multiple display options (trace, dump, flush)

Notifications You must be signed in to change notification settings

SunnyChaturvedi/2Pass-Assembler-and-Emulator

Repository files navigation

2Pass-Assembler-and-Emulator

A 2 pass Assembler & Emulator for a custom assembly language called SIMPLE.
SIMPLE has 2 registers , 1 program counter , 1 stack counter
& selected instruction mnemonics which perform various operations.  

The Assembler

Converts the given assembly code to machine code for emulator to run.
Pass1 : It checks for various syntax errors.
Pass2 : It obtains the machine code (the object file)

It also generates-

  1. Listing file : A human readable file showing what value is stored at each address.
  2. Log file : Contains the warnings and errors(if any).

The Emulator

Emulates the machine code (if produced without errors) on Terminal / Command Prompt.
User has been provided with various options to view the instructions getting executed.

 

The List of Instructions provided

1

NOTE1: The design requirements are given in pdf file.
NOTE2: The run instructions and project design are mentioned in claims.txt files.

Sample Assembler Run

3

Sample Emulator Run

4

About

2pass Assembler for a custom assembly language called SIMPLE & Emulator which emulates the assembled instructions using multiple display options (trace, dump, flush)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published