pub fn goto(cpu: &mut Cpu, scheme: InstructionScheme) -> OperationResult<()>
Expand description
§0x0104
goto direct:32
Performs a short jump (offset is 32 bits long).
§Target
- None.
§Arguments
- direct:32
§Operation
current = (current.top) | direct
§Errors
- OperationError::InvalidArgumentType if the provided argument is not an ArgumentType::OneU32,
- OperationError::MemoryError if a memory error occurs.