22.11.9.6 Internal Device To Data Buffer

The data of the string stored in the LS area is copied to the data buffer according to the number of strings in a byte-by-byte transfer. Store the Parameter 3 (Number of words) of data from Parameter 2 (Copy source address) in Parameter 1 (Copy to buffer) as a text.

_ldcopy (Copy to buffer, Copy source address, Number of words)

Example expression 1:

_ldcopy (databuf0, [w:[#INTERNAL]LS0100], 4)

The data in LS0100 to LS0103 is written into the 4 bytes of the data buffer, sequentially starting from "databuf0". Internal devices read in byte units (from the bottom bits).