I don't know how my post disappeared, but it asked how to include a carriage-return and a line-feed in a string.
Inline:
term.str(string("Jon Titus", $0D, $0A))
To be called from multiple places, best to define it in a DAT section.
dat Jon byte "Jon Titus", $0D, $0A, $00
term.str(@Jon)
Note that you have to manually add the 0-terminator in a DAT section (string() inserts this).
Comments
Inline:
To be called from multiple places, best to define it in a DAT section.
Note that you have to manually add the 0-terminator in a DAT section (string() inserts this).