Please enable JavaScript.
Coggle requires JavaScript to display documents.
CSE332 - Coggle Diagram
CSE332
Assembler
-
Title : Assembler Type : Software (Platform : any)
It is difficult and error-prone to manually write machine code. The problem can be addressed by writing an assembler, which can automatically generate a machine code from an assembly file. In this project, you should write an assembler for your ISA. The assembler reads a program written using assembly language in a text file, then translates it into binary code and generates output file(.txt) containing machine code. The generated output files will later be useful to run a program when you will develop your actual CPU.
Language:You can use any high level language. Some demo codes are provided in previous semester' project list. You are strongly advised to use them to save your time. You might need to modify the existing functions/classes to fit in your need. Both Java and C++ based source codes are available here.
-
Java code
Assembler.java
-
It needs:
Bit size,
Temp Size,
Opcode.txt, <A file from where it would read assembly file / if not given it would take input form the termianl>
-
-
-