Handle NMI, factor out DoOpcode() function.