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
»
why cannot use 'loop' as label name?
« previous
next »
Print
Pages: [
1
]
Author
Topic: why cannot use 'loop' as label name? (Read 12896 times)
nobody
Guest
why cannot use 'loop' as label name?
«
on:
September 19, 2005, 03:51:28 AM »
eg:
loop:
inc ax
jmp loop
>nasm test.asm
test.asm:1: error: expression syntax error
test.asm:3: error: expression syntax error
If loop a remained key word of nasm?
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
Re: why cannot use 'loop' as label name?
«
Reply #1 on:
September 19, 2005, 03:59:49 AM »
"loop" is an instruction. Call your label "loop_top" or something.
Best,
Frank
Logged
nobody
Guest
Re: why cannot use 'loop' as label name?
«
Reply #2 on:
September 19, 2005, 07:26:58 AM »
I see, thanks!
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
why cannot use 'loop' as label name?