pub fn not(cpu: &mut Cpu, scheme: InstructionScheme) -> OperationResult<()>
Expand description
§0x0401
not:target
0:origin:16
§Target
- The bank register to write the value of the compare register.
§Arguments
- 0:
$origin
§Operation
REG[$target] = not REG[$origin]
§Errors
- OperationError::InvalidArgumentType if the provided argument is not an ArgumentType::TwoU16,