NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: Mark Hinchcliffe on September 26, 2005, 09:21:34 PM
-
I'd be very grateful if someone could tell me why, in the following code snippet, L1 is OK but L2 throws an error "error: symbol AFh undefined"
segment .data
L1 db 9Fh
L2 db AFh
-
A symbol name may not begin with a decimal digit. A number *must* begin with a decimal digit.
L2 db 0AFh
... not a problem if you use 0xAF instead of the "h" notation.
Best,
Frank
-
Belated thanks, Frank
..... that solves my problem