pub fn get_memory_size(
cpu: &mut Cpu,
scheme: InstructionScheme,
) -> OperationResult<()>
Expand description
§0x0303
get_memory_size:target
This page describes the instruction scheme.
§Target
- The register to write the memory size.
§Arguments
- None.
§Operation
REG[$target] = MEM.len()
§Errors
- OperationError::InvalidArgumentType if the provided argument is not a ArgumentType::NoArgument,