flat assembler
Message board for the users of flat assembler.

Index > Main > hll static/local vars emulation

Author
Thread Post new topic Reply to topic
maurifull



Joined: 05 Sep 2004
Posts: 10
Location: Argentina
maurifull 12 Sep 2004, 23:44
Hi, I'm a bit puzzled
How do you emulate static vars? (with mangled names global ones?)
And local ones? (using just registers is a mess for making cooperative functions, .labels attach them to parent label, but... is it 'reentrant'?)

Regards
Post 12 Sep 2004, 23:44
View user's profile Send private message Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 13 Sep 2004, 13:23
Static vars (Global variables) are those that are in the .data section

For local variables, take a look at
http://board.flatassembler.net/topic.php?t=2212
Post 13 Sep 2004, 13:23
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
maurifull



Joined: 05 Sep 2004
Posts: 10
Location: Argentina
maurifull 13 Sep 2004, 17:19
Hi roticv

Many thanks for taking the time to answer, I've talked about this with a friend few minutes after this post and he gave me the answer, but thank you anyway!
Post 13 Sep 2004, 17:19
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.