Reputation: 7407
What is the difference between using a single quote ' or a double quote " in nasm? Does it have any affect on defining variables, or nesting quotes?
Upvotes: 2
Views: 1693
Reputation: 10174
From NASM's manual:
A character string consists of up to eight characters enclosed in either single quotes ('...'), double quotes ("...") or backquotes (
...
). Single or double quotes are equivalent to NASM (except of course that surrounding the constant with single quotes allows double quotes to appear within it and vice versa); the contents of those are represented verbatim. Strings enclosed in backquotes support C-style -escapes for special characters.
Upvotes: 5