flat assembler
Message board for the users of flat assembler.

Index > Main > flat assembler 1.66

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



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 05 Jun 2006, 23:44
The manual is written in a way that it should be read consecutively (maybe that's stupid but that's how I want it to be), for instance some of the information included in 1.2.1 is required to understand fully the section 2.3.6. See http://board.flatassembler.net/topic.php?t=4638#34035 for some explanations of the things from manual. I'm going to cover it all in the further sections of Understanding fasm article - hopefully soon I will have some time for it.
Post 05 Jun 2006, 23:44
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: 20454
Location: In your JS exploiting you and your system
revolution 05 Jun 2006, 23:57
Tomasz Grysztar wrote:
I would rather call it a "lack of resolving feature" than a bug
Hehe, okay it's a LORF, not a bug Smile Who was it that first coined this phrase? "A rose by any other name ..." Razz

In my FASMARM package I defined one common place for this type of error deferral (ARM_defer_error) which I either call or jmp to depending on the requirement. Makes the code both smaller and easier to read.
Post 05 Jun 2006, 23:57
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 06 Jun 2006, 06:59
Just remember that making resolvable errors should be carefully placed if at all. ALIGN is a safe place, so it can be done (unless I missed something right now) for both directive and SECTION modifier - however I really don't feel this obligatory (what the use of "bug" term might suggest).
The alternative solution here would be to allow "ALIGN 0"="ALIGN 1" (I saw such assumption somewhere...)
Post 06 Jun 2006, 06:59
View user's profile Send private message Visit poster's website Reply with quote
quiveror



Joined: 20 Jun 2003
Posts: 34
quiveror 06 Jun 2006, 16:55
Tomasz Grysztar wrote:
so it can be done (unless I missed something right now) for both directive and SECTION modifier - however I really don't feel this obligatory (what the use of "bug" term might suggest).

That's OK 'cause the classic one works (with fwd ref) like charm for me.
Code:
macro align value { rb (value-1)-($+value-1) mod value }
    
Post 06 Jun 2006, 16:55
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

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

Website powered by rwasa.