21.11.11.3 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 (Words) words of data from Parameter 2 (Copy-From Address) in Parameter 1 (Copy-To Data Buffer) as a text.

_ldcopy (Copy-To Data Buffer, [Copy-From Address], 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).