Create state machine MIPS stubs