pub fn gosub_if(cpu: &mut Cpu, scheme: InstructionScheme) -> OperationResult<()>
Expand description
§0x010B
gosub_if:CMP
direct:32
Calls a procedure stored at the given address if the last comparison corresponds the selected operator.
§Target
- CMP : LT(<) / LE(<=) / NE(!=) / EQ(==) / GE(>=) / GT(>)
§Arguments
- The address to jump to.
§Errors
- OperationError::InvalidArgumentType if the provided argument is not an ArgumentType::OneU32,