Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ASM- MOV

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
CodeKiller
Advanced Cheater
Reputation: 0

Joined: 30 Jun 2009
Posts: 87

PostPosted: Mon May 11, 2015 5:47 am    Post subject: ASM- MOV Reply with quote

Hello,

I saw some times ago someone using a specific syntaxe for the MOV command so you don't need to "convert" values from dec to hex, integer to double, etc.

Does someone has a full example of the available "shortcut" with the MOV command ?

For example :

MOV eax, 500 <-- how to say that it's 500 (1F4) and not 1 280 ?

Thanks ! Smile
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon May 11, 2015 6:13 am    Post subject: Reply with quote

mov eax,(int)500 //for integer
mov eax,(float)500 //for float

You can also use #500 instead of (int)500 for integer.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Mon May 11, 2015 8:18 am    Post subject: Reply with quote

Applies to CE specifically, and to the AA part only. The memory viewer stills only shows hex values.

Any other debugger will still show and assemble in hex. Just remember this so you don't get confused in future when dealing with other debuggers or reading books if ever.

In your example
MOV eax, 500

500 is hex because it is automatically assumed that you are typing hex unless you specify explicitly if its decimal or float etc like Geri showed above.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
CodeKiller
Advanced Cheater
Reputation: 0

Joined: 30 Jun 2009
Posts: 87

PostPosted: Thu Jul 23, 2015 1:48 am    Post subject: Reply with quote

I lost sight of this topic... Rolling Eyes

Yep, working fine ! Cool

Thanks for your reply ! Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites