:: Random ISZ tests :: Bit more of a challenge: cant just put a HLT instruction to :: terminate the test loop. And cant squelch the output either. if (SIM_REGEX_TYPE == "") echof "Missing Regular Expression support - skipping Random ISZ test\n"; goto ISZ_DONE echof "** PDP-8/E: Random ISZ test: " load diags/maindec-8e-d0fc-pb.bin dep sr 0 expect -r [25] "\r\nFC" echof; echof "** PDP-8: Random ISZ test: passed" expect -r "F [0-7]{4}" echof; echof "** PDP-8: Random ISZ test: MAINDEC-8/E-D0FC failed."; exit 1 go -q 200 :ISZ_DONE