Code for assignments in CS330 - Microcomputer Architecture