Writes a specific pattern of bytes to memory.
memory fill [<verify=flag>:]
Qualifies the address with a flag to specify whether the operation must perform a verify action or not. The values for flag are:
There is no need to verify whether the operation executed correctly.
The operation must verify whether it executed correctly. This is the default.
Specifies the start address for the region. This can be either an address or an expression that evaluates to an address.
memory fill EL1N<verify=0>:0x0 0xFFFFFFFF 4 0x12345678
If there is only one (anonymous) address space, then use:
memory fill <verify=0>:0x0 0xFFFFFFFF 4 0x12345678
Specifies the inclusive end address for the region. This can be either an address or an expression that evaluates to an address.
Specifies the length of the region in bytes.
Specifies the size of the fill pattern in bytes.
Specifies an expression that defines the fill pattern. If the pattern does not fit exactly into the specified region, then the remaining bytes are filled with partial bytes from the pattern.
Example 1-96 Examples
memory fill 0x0 0xFFFFFFFF 4 0x12345678 # Fill 0x0 to 0xFFFFFFFF inclusive with int # value 0x12345678 using default access width memory fill main (main+15) 1 (char)0x0 # Fill 16 bytes from symbol main with byte # value 0x0