Skip to content

This is the repository for our group project for computer organization course . We had to make a custom assembler and simulator using python. The ISA (Instruction set architecture ) was provided to us.

Notifications You must be signed in to change notification settings

Nikhil190804/Python_Based_Assembler_And_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CO-Project-2023

Group Members Details:-

Nikhil Kumar - 2022322

Niket Agarwal - 2022320

Mohit Mehra -2022301

This is the repository for our group project for computer organization course .
We have added all the three folders which were given to us. And it contains the main script "Assembler.py" inside the Simple-Assembler folder , the run file inside it also contains the mentioned commands to run . But by chance , if anything fails then we have added the main script "Assembler.py" as alone to the repository . Although everthing is working fine from our end .

// 7th june 2023 //

new functions we created:

  1. clear register (clr) -> opcode (11001) <5 bits opcode> <11 unused bits>

  2. add imm to reg (adi reg1 $imm) -> opcode (11110) <5 bits opcode> <1 unused bit> <3 bit reg> <7 bit imm >

  3. exponential ( pow reg1 reg2 reg3 ) -> opcode (10011) <5 bits opcode> <2 unused bit> <3 bit reg> <3 bit reg> <3 bit reg>

  4. increment ( inc reg ) -> opcode (10100) <5 bits opcode> <8 unused bit> <3 bit reg>

  5. decrement ( dec reg ) -> opcode (10101) <5 bits opcode> <8 unused bit> <3 bit reg>

About

This is the repository for our group project for computer organization course . We had to make a custom assembler and simulator using python. The ISA (Instruction set architecture ) was provided to us.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •