Skip to content

This project simulates the operation of assembling a SIC Program to a machine code

License

Notifications You must be signed in to change notification settings

Momen-G-Ar/SIC-assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIC Assembler

Simulate A SIC Assembler working

Table of Content

General Information

This code simulate the operation of translating assembly code into machine code with SIC architecture

Install and Run

  • Install git repository: git clone https://github.com/Momen-G-Ar/SIC-Assembler.git
  • Change the working directory to be the project directory: cd SIC-Assembler/src
  • Try to write your own tests
  • To run the assembler you should:
    • Install Python3 on you computer
    • NOTE: Don't delete the opcode file
    • Specify the path of test you want to run: example.asm
    • Specify the path of intermediate file: intermediate-example.mdt
    • Specify the path of output file to write the machine code in it: output.obj
    • Run the Program using the command:
      • python3 main.py example.asm intermediate-example.mdt output.obj

Technologies

  • Python3
  • Assembly
  • SIC-Architecture

Features

  • Generate machine code from assembly code with SIC-Architecture

Built with

About

This project simulates the operation of assembling a SIC Program to a machine code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published