flat assembler
Message board for the users of flat assembler.

Index > Main > Move value in eax

Author
Thread Post new topic Reply to topic
Andy



Joined: 17 Oct 2011
Posts: 26
Andy
Hi guys,

I have a pointer of a variable and I need to put the value of this variable in eax. I tried in some ways but without luck. Any help is welcome.
Post 28 Apr 2013, 10:45
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17476
Location: In your JS exploiting you and your system
revolution
Code:
mov eax,[pointer]    
Post 28 Apr 2013, 11:08
View user's profile Send private message Visit poster's website Reply with quote
Andy



Joined: 17 Oct 2011
Posts: 26
Andy
Hmm, I tried in that way. The problem in my case is that I use a HLL and I have the pointer address in numeric form, like 0x032A7020. And the value stored at this address I want to move it in eax.
Post 28 Apr 2013, 11:20
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17476
Location: In your JS exploiting you and your system
revolution
Code:
mov eax,[0x032A7020]    
Post 28 Apr 2013, 11:25
View user's profile Send private message Visit poster's website Reply with quote
Andy



Joined: 17 Oct 2011
Posts: 26
Andy
That's weird. I tried before and didn't work but now works fine. Confused

Thank you!
Post 28 Apr 2013, 11:41
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.