|back||Last regenerated: 2018-05-27 22:10:33 kio|
defm <text> [,<text>] dm <text> [,<text>] .dm <text> [,<text>] .text <text> [,<text>] .ascii <text> [,<text>]
Store one or more text strings into the code segment.
Note: Due to the various methods for using 'defb' and 'defm' found in the wild zasm handles these two instructions in exactly the same way. This paragraph describes the 'string oriented' usage cases. For the 'byte oriented' usage cases see 'defb'.
The text string may be given in the following formats:
$12345678.... packed hex string 12345678h packed hex string 'text' character string, delimited by <'>, must not contain <'> "text" character string, delimited by <">, must not contain <">
defm "this is my message"+$80
There are 4 predefined names for text strings:
__date__ current date: "Jan.31.96" __time__ current time: "23:56:30" __file__ current file name "filename.ext" __line__ current line numer "815"
Characters in character strings are utf-8 decoded and then translated into the target system's character Pseudo instructions: defl, set and '='
Assembler directives: #if, #elif, #else, #endif