The project is for class CMSC216 Introduction to Computer Systems.
Assignment Due Date: Feb 28, 2022
Assignment Score: 105 out of 100
The language used: C
Assignment Purpose: Write some functions to manipulate the instructions of a fictional simple processor. Using the features of C covered in the class, namely bit operators and arrays.
Functions implemented:
- unsigned short print_instruction(Mach_word instruction)
- unsigned short disassemble(const Mach_word program[], unsigned short max_addr)
- unsigned short is_valid(Mach_word word)
- short check_branches(const Mach_word program[], unsigned short max_addr)
For my implementation, click here. Contact me if you cannot access it.
Click here for the detailed project description