NUS Embedded Systems Design Project ASM (Hardware Code)