Function load_words

Source
pub fn load_words(
    cpu: &mut Cpu,
    scheme: InstructionScheme,
) -> OperationResult<()>
Expand description

§0x0302 load_words:target [start:end]

This page describes the instruction scheme.

§Target

  • The register containing the address to read from.

§Arguments

  • Range($start, $end)

§Operation

  • REG[$start..=$end] = MEM[REG[$target]; ($end-$start)]

To load only one register from memory, just make $start == $end.

§Errors