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: 55
Andy 28 Apr 2013, 10:45
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: 19872
Location: In your JS exploiting you and your system
revolution 28 Apr 2013, 11:08
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: 55
Andy 28 Apr 2013, 11:20
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: 19872
Location: In your JS exploiting you and your system
revolution 28 Apr 2013, 11:25
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: 55
Andy 28 Apr 2013, 11:41
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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.