摘要 |
A state machine for an assembler capable of processing structured assembly language is disclosed. The state machine for an assembler capable of processing structured assembly language IF constructs includes five states, namely, an IF state, an ELSE state, an END<SUB>-</SUB>IF state, an ELSE<SUB>-</SUB>IF state, and a SETUP<SUB>-</SUB>IF state. In response to recognizing a SETUP<SUB>-</SUB>IF clause during the IF state or the ELSE<SUB>-</SUB>IF state, the process transitions to the SETUP<SUB>-</SUB>IF state. In response to recognizing an ELSE<SUB>-</SUB>IF clause during the SETUP<SUB>-</SUB>IF state, the process transitions to the ELSE<SUB>-</SUB>IF state.
|