Implemented a few new instructions and added NMI support.