Add NMI handling and public DoOpcode() method.
Merge pull request #2 from lkesteloot/master

Handle NMI, factor out DoOpcode() function.