def METHOD_NAME(self, program_counter: int) -> Iterator['CodeStream']:
    anchor_pc = self.program_counter
    self.program_counter = program_counter
    try:
        yield self
    finally:
        self.program_counter = anchor_pc