Remove the assemble flag from the Pbasm record.
Rename stateROM to stateOpcodes in Template module.
Update the main function to respect the template argument.