add reader logic for terminator instrs.