I am trying to write code to emulate the 8051 microcontroller. I am modeling the control unit as a giant state machine and I was wondering if some of the case statement syntax I'm using is correct/valid/reasonable.
First of all, is a case within a case statement valid? Second, when I look at...