flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Section Flags bugs

Author
Thread Post new topic Reply to topic
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan
Don't remember if i told this, but anyway
when declaring physically empty section with /initialized/ DATA flag (what is wrong for uninit data):
Code:
SECTION '.some' DATA READABLE WRITABLE
someData  dd  ?
    

No errors shown on incorrect DATA flag on physically empty section, insead section become flagged containing both: initialized & uninit data that is obviously wrong.
It costed me time & confusion: when i declared shared section with wrong DATA initializer:
Code:
SECTION '.shared' DATA READABLE WRITABLE SHAREABLE
someSharedData  dd  ?
    

section behaved wrong - it couldn't have been shared! I was really lost in guesses(( till found this weird bug /my one (DATA) and compiler's one (both flags set)/.

_________________
Any offers?
Post 22 Jun 2008, 11:10
View user's profile Send private message Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan
The bug with simultaneous initialized & unitialized flags set still there but after testing shared section with these flags set as described above it miracly worked! wow that time I tested it didn't work and now it works. wow again. maybe it is because of regular win xp updates who knows... but it works anyway.
Post 04 Nov 2008, 09:57
View user's profile Send private message 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-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.