flat assembler
Message board for the users of flat assembler.

Index > Main > Address of Local Structures

Author
Thread Post new topic Reply to topic
FrozenKnight



Joined: 24 Jun 2005
Posts: 128
FrozenKnight 03 Sep 2005, 10:30
How do i get the address of a local structure?
i've spent half a night trying to fugure this one question.
thx in advance.
Post 03 Sep 2005, 10:30
View user's profile Send private message Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend 03 Sep 2005, 10:53
Code:
...
  locals
    pt      POINT
  endl

        lea     eax, [pt]
        ; eax = address of local structure
    
Post 03 Sep 2005, 10:53
View user's profile Send private message Visit poster's website 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.