Compiler

Compiler


I’ve written a assembly code which takes 2 numbers as input and sums them and prints the numbers from the sum to 0. I’ve written the code to parse the asm code. Initially created a binary file I’ve started with filling the symbol table and memory table. Then filled the Intermediate Language table and Label table lets compile the asm code Then the tables are generated and stored in a binary file. Lets see the Intermediate Language table Now I have to execute the binary file lets see the execution I’ve taken the opcodes and written cases for the opcodes and performing the corresponding operation on variables and registers.

Leave a Reply

Your email address will not be published. Required fields are marked *