NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
line continuation
« previous
next »
Print
Pages: [
1
]
Author
Topic: line continuation (Read 17030 times)
nobody
Guest
line continuation
«
on:
January 10, 2006, 06:01:17 PM »
The documentation that I have says that backslash(\) is the line continuation character.
I would assume that if that is the case then I should be able to do the following:
mov eax, \
prompt1
But I get an expression syntax error!
Any suggestions?
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
Re: line continuation
«
Reply #1 on:
January 10, 2006, 06:37:54 PM »
Works fine for me. Is the '\' the *very* last thing on the line? Spaces or tabs after it won't work.
Best,
Frank
Logged
nobody
Guest
Re: line continuation
«
Reply #2 on:
January 10, 2006, 06:39:05 PM »
Ensure that the backslash is the last
character on its line, i.e. that it is
not followed by whitespaces or tabs.
Logged
nobody
Guest
Re: line continuation
«
Reply #3 on:
January 10, 2006, 06:57:54 PM »
It is the last thing on the line not counting the newline character.
I am running on Linux use ELF with i686 architecture. Other suggestions?
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
line continuation