SPRUJB6B November 2024 – May 2025 AM2612
Arguments: address (length = multiplicand_length).
Effect: This command copies data from the given address to the multiplicand, which was set using SET_MAND. The length is equal to the multiplicand’s length and may be shorter than MAU_MIN_LENGTH or greater than MAU_MAX_LENGTH. The cmdLen field is ignored.
COPY leaves the scratchpad unchanged.
COPY provides a handy way to randomize or zeroize memory, by setting the source to the RNG or constantzero address.
This command will cause an error if:
Note that the COPY command can copy (non-canonical) signed data, but it never canonicalizes its input. If you use it to copy from a RAM slot to a non-slot address, it will discard the sign bit. In future releases this may instead cause an error.