pub fn is(cpu: &mut Cpu, scheme: InstructionScheme) -> OperationResult<()>
Expand description
§0x0400
is:CMP
target:16
:compare:16
§Target
- CMP : LT(<) / LE(<=) / NE(!=) / EQ(==) / GE(>=) / GT(>)
§Arguments
- target:register
- compare:register
§Operation
REG[$target] = CMP == $compare
§Errors
- OperationError::InvalidArgumentType if the provided argument is not an ArgumentType::TwoU16,