flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > fasm as DLL

Goto page Previous  1, 2, 3, 4, 5, 6
Author
Thread Post new topic Reply to topic
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8344
Location: Kraków, Poland
Tomasz Grysztar 06 Dec 2023, 11:51
Ben321 wrote:
To tell it that a number is hexadecimal, you can either prepend "0x" or append "h" to the number. I found this doesn't work though if the first digit of the number is a hexadecimal letter. For example, 0xF00000 works, but F00000h generates an error. It's fine if the letter is elsewhere in the hex number. This means a temporary work around hers is to prepend a zero before the first letter, like 0F00000h will work. But it's not ideal. I hope this is a bug that you can fix.
This has been discussed already: https://board.flatassembler.net/topic.php?t=20762
Post 06 Dec 2023, 11:51
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20126
Location: In your JS exploiting you and your system
revolution 06 Dec 2023, 11:52
All numbers must begin with a digit 0-9. The only exception is the $.
Code:
db 0xf0
db $f0
db f0 ; this is a label name 'f0'.    
Post 06 Dec 2023, 11:52
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4, 5, 6

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.