flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > A working 'assume' macro for 1.52? (old doesn't work)

Author
Thread Post new topic Reply to topic
El_Choni



Joined: 09 Mar 2004
Posts: 8
Location: Spain
El_Choni
Hi,

I used this 'assume' macro with previous Fasm versions:

Code:
macro assume reg, struc
 { local _reg
   virtual at reg
   reg equ _reg
   reg struc
   end virtual
   restore reg }
    


And this syntax:

Code:
  assume ebx, MYSTRUC
  ...
  mov [ebx.StrucMember], whatever
    


But the macro doesn't work any more with 1.52, Fasm says I'm using a reserved word or something.

So I would like to know if someone has come to a new version of this useful macro that can be used with the same syntax. I've tried some examples found in the forum, but none of them worked for me.

I would really appreciate some help, I'm not very skilled in writing Fasm macros.

TIA,
Post 17 Apr 2004, 08:51
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7488
Location: Kraków, Poland
Tomasz Grysztar
I forgot to test this feature and it seems it has been broken since the 1.48 release. Now I've made a good fix for it, please get the updated 1.52 package.
Post 17 Apr 2004, 10:27
View user's profile Send private message Visit poster's website Reply with quote
zenek_tm



Joined: 21 Mar 2004
Posts: 33
Location: Poland
zenek_tm
Hey now that's a pretty good thing to know. Now all I have to do is wait for Fresh with Fasm 1.52 Smile
Post 17 Apr 2004, 11:00
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-2019, Tomasz Grysztar.

Powered by rwasa.