Function sum_unsigned

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

§0x1001 sum_unsigned:target [start:end]

§Target

  • The register to store the result into

§Arguments

  • Range : the range to sum

§Operation

  • REG[$target] = sum(REG[$start..=$end])

§Errors