22.11.2.9 Initialize Memory (Variable Specification)

Initializes all devices at once. The Set data specified with Parameter 2 are set from the Set Word Address specified with Parameter 1 into the addresses specified with Parameter 3. The valid range for the number of addresses is from 1 to 640. The Write-To Address, Write Data, and number of addresses can each be designated indirectly.

_memset_EX ([Write-To Address], Write Data, Words)

Example expression:

[t:0000]=10
[w:[#INTERNAL]LS0050]=0
[w:[#INTERNAL]LS0051]=5
_memset_EX([w:[#INTERNAL]LS0100]#[t:0000], [w:[#INTERNAL]LS0050], [w:[#INTERNAL]LS0051])

In the example above, "0" will be written into the five words from LS0100 to LS0114.