MCPcopy Index your code
hub / github.com/endbasic/endbasic / set_pc

Method set_pc

core/src/vm/context.rs:249–251  ·  view source on GitHub ↗

Sets the program counter to `pc`.

(&mut self, pc: Address)

Source from the content-addressed store, hash-verified

247
248 /// Sets the program counter to `pc`.
249 pub(super) fn set_pc(&mut self, pc: Address) {
250 self.pc = pc;
251 }
252
253 /// Returns the current error handler configuration.
254 pub(super) fn error_handler(&self) -> ErrorHandler {

Callers 2

park_at_eofMethod · 0.80
handle_exceptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected