Function get_memory_size

Source
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