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 


What movq is mean?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
lai32290
Newbie cheater
Reputation: 0

Joined: 12 Sep 2011
Posts: 10

PostPosted: Mon Aug 20, 2012 8:49 am    Post subject: What movq is mean? Reply with quote

I'm trying modify a assemble code, and this code has a command movq, I know just use command use, but I don't know what movq is mean....and how to use?

The assembly code is this...
Code:
movq [ecx+000000C0],xmm0


I want create a script for set a value 100
How I can modify this code?
Back to top
View user's profile Send private message
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Mon Aug 20, 2012 5:02 pm    Post subject: Reply with quote

Really?
I mean, before I even googled it, when which the first result answered my question, I knew what it mean. It seems to be a 64-bit version of mov meant for quad words.
Back to top
View user's profile Send private message
lai32290
Newbie cheater
Reputation: 0

Joined: 12 Sep 2011
Posts: 10

PostPosted: Mon Aug 20, 2012 5:11 pm    Post subject: Reply with quote

64-bit versio of mov? just it? =O
But...why I can't replace xmm0 for my value?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Mon Aug 20, 2012 6:50 pm    Post subject: Reply with quote

Yes, movq places the 64-bit value stored in xmm0 in the specified address.
To set your own value you must change XMM0 with the requested value

e.g:
movq xmm0,[addressthatcontainsthevalueyouwishtoset]
movq [ecx+c0],xmm0

alternatively, you can just do
mov [ecx+c0],firstpart
mov [ecx+c4],secondpart

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
AccDenied
How do I cheat?
Reputation: 0

Joined: 02 May 2016
Posts: 1

PostPosted: Mon May 02, 2016 5:28 pm    Post subject: game crash Reply with quote

if i change something the game will crash ...
this is my code

alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
movq [eax+30],xmm0

exit:
jmp returnhere

16BF3F46:
jmp newmem
returnhere:
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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