The -string
option will embed an ASCII string at a fixed
address. The usage of this option is:
-string@Address[tCode]=”Text”
where:
Address
is assumed to be a hexadecimal value
representing the address at which the string will be stored.Code
is optional and allows a byte sequence to
trail each byte in the string. This can allow the bytes of the string to be encoded
within an instruction.Text
is the string to convert to ASCII and
embed.For example:
-string@1000=”My favorite string”
will store the ASCII data for the string, My favorite string (including the null character terminator), at address 1000h.
And again:
-string@1000t34=”My favorite string”
will store the same string, trailing every byte in the string with the HEX code 34h.