b Instruction Dispatch
Do we write different mCode for each possible ADD(r[0-31], r[0-31], r[0-31]) ? ra rb rc
Alternate strategy:
- Based on ra field, copy appropriate register contents to designated temporary registers T0-3
- Do this using 32-way switch statement
- Based on rb field, copy appropriate register contents to designated temporary registers T4-7
- Compute T0-3 + T4-7 in T8-11
- Based on rc field, copy T8-11 to appropriate b register