__fillMemory8
Syntax
__fillMemory8(value, address, zone, length, format)
Parameters
valueAn integer that specifies the value.
addressAn integer that specifies the memory start address.
zoneA string that specifies the memory zone, see C-SPY memory zones.
lengthAn integer that specifies how many bytes are affected.
formatA string that specifies the exact fill operation to perform. Choose between:
Copyvaluewill be copied to the specified memory area.ANDAn
ANDoperation will be performed betweenvalueand the existing contents of memory before writing the result to memory.ORAn
ORoperation will be performed betweenvalueand the existing contents of memory before writing the result to memory.XORAn
XORoperation will be performed betweenvalueand the existing contents of memory before writing the result to memory.
Return value
int 0
For use with
All C-SPY drivers.
Description
Fills a specified memory area with a byte value.
Example
__fillMemory8(0x80, 0x700, "", 0x10, "OR");