flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > macro "assume" problem.

Author
Thread Post new topic Reply to topic
dead_body



Joined: 21 Sep 2005
Posts: 187
Location: Ukraine,Kharkov
dead_body
i can't do two assumes, like this:
Code:
    assume edi:WNDCLASSEX
    assume esi:MSG
    mov [edi.style],CS_HREDRAW or CS_VREDRAW
    mov eax,[esi.wParam]
    

when there will be a new version of assume, to make that code work?
Post 05 Apr 2006, 16:56
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7751
Location: Kraków, Poland
Tomasz Grysztar
Stupid me, I forgot that there can be more than one register. Very Happy
Fixed now.
Post 05 Apr 2006, 19:13
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
What was the date when "assume" became documented? I've missed that feature so long, but also missed any posts describing it Sad
Post 06 Apr 2006, 12:44
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7751
Location: Kraków, Poland
Tomasz Grysztar
I did not became documented. Wink The MASM.INC is still an undocumented, though official.
Post 06 Apr 2006, 13:14
View user's profile Send private message Visit poster's website Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 977
Location: Czechoslovakia
MazeGen
I know how time-consuming can be writing a documentation, but that's one of the reasons which discourages me from using fasm. Users can't check each release for undocumented features from the sources.
Post 06 Apr 2006, 15:43
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7751
Location: Kraków, Poland
Tomasz Grysztar
It's undocumented on purpose - I didn't really want to promote this feature.
For the docs for the rest of macro packages, see Documentation section (or FASM.PDF).
Post 06 Apr 2006, 15:51
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
MazeGen: doesn't [edi + WNDCLASSEX.style] look more descriptive and readable than [edi.style]? You always know what structure you are working with. IMHO thing worth little more typing.
Post 06 Apr 2006, 16:32
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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.