flat assembler
Message board for the users of flat assembler.
Index
> Main > Why? "error: undefined symbol 'C0000040h'" |
Author |
|
wyvern 20 Dec 2011, 16:31
I can use "0xC0000040" but no "C0000040h". I dont like the "Ox" prefix
Why the assembler tell me this? _________________ Thanks |
|||
20 Dec 2011, 16:31 |
|
mindcooler 20 Dec 2011, 17:04
0C0000040h
Need initial digit to tell compiler that it is a number. Last edited by mindcooler on 20 Dec 2011, 17:06; edited 1 time in total |
|||
20 Dec 2011, 17:04 |
|
cod3b453 20 Dec 2011, 17:04
C0000040h is actually a label identifier because it starts with a non-numerical digit, you can use 0C0000040h to rectify this.
|
|||
20 Dec 2011, 17:04 |
|
wyvern 20 Dec 2011, 18:57
thanks
|
|||
20 Dec 2011, 18:57 |
|
DOS386 13 Jan 2012, 08:32
wyvern wrote: I can use "0xC0000040" but no "C0000040h". I dont like the "Ox" prefix mov eax, $C000'0040 |
|||
13 Jan 2012, 08:32 |
|
typedef 13 Jan 2012, 15:57
0xABCDEF = 0ABCDEFH = $ABCDEF
|
|||
13 Jan 2012, 15:57 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.