flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > FASM1 Preprocessor exception handling

Author
Thread Post new topic Reply to topic
rCX



Joined: 29 Jul 2007
Posts: 173
Location: Maryland, USA
rCX 22 Mar 2026, 02:46
Does FASM1 preprocessor have exception handling? For example is there something like the the following which would display "This can't be done"?

Code:
myLabel:

try
    myLabel = myLabel + 5
except
    display "This can't be done", 13, 10
end try
    


But the following would update myLabel and not say anything
Code:
myLabel = 2

try
    myLabel = myLabel + 5
except
    display "This can't be done", 13, 10
end try
    
Post 22 Mar 2026, 02:46
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20913
Location: In your JS exploiting you and your system
revolution 22 Mar 2026, 02:47
rCX wrote:
Does FASM1 preprocessor have exception handling?
No.

BTW: The example show the assembler stage.
Post 22 Mar 2026, 02:47
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:  


< 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-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.