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 


CE won't compile "movss [esi+00000084],xmm0"

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Shikakapoop
Expert Cheater
Reputation: 2

Joined: 29 Nov 2006
Posts: 128

PostPosted: Mon Jul 16, 2007 7:08 pm    Post subject: CE won't compile "movss [esi+00000084],xmm0" Reply with quote

I'll explain everything first.

The code I'm wanting to change is
00424782 movss [esi+00000084],xmm0

Simply replacing it with a few nops works (does what I wanted it to do ingame) through the code list options, but actually assembling the line (for disable reasons) "movss [esi+00000084],xmm0" doesn't work, I get "This instruction can't be compiled".

I'm guessing it's the xmm0. Is CE not recognizing the xmm0 as a register? That's what it is right? If not, what is it? :\


Also I need to know if this code will work in the first place, I followed Labrynth's tutorial, and I wanted to try out using codecaves (though it's not really necessary for a nop code I guess).
I want it to jump to the code cave and just do nothing instead of.. movss'ing my xmm0 lol.

Code:


[ENABLE]
label(zomgreturn)

00400248:   //big empty codecave
nop
nop
nop
nop
nop
nop
nop
nop
jmp zomgreturn


00424782:   //almighty writing address)
jmp 00400248
nop
zomgreturn:

[DISABLE]

00424782: //original
movss [esi+00000084],xmm0



Anyway, my problem remains: CE refuses compile
"movss [esi+00000084],xmm0"

WHY!



On another note.. without the codecave, I would just
Code:

[ENABLE]
00424782:
nop
nop
nop
nop
nop
nop
nop
nop

[DISABLE]
00424782:
movss [esi+00000084],xmm0


It works, but only if I don't include a disable option, as long as I leave movss [esi+00000084],xmm0 out, CE will compile it fine.



SO, my ULTIMATE question out of this horribly written post:

Why won't CE compile that little line of code that exists within this game and how can I go about compiling it including the code?

_________________
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Mon Jul 16, 2007 7:17 pm    Post subject: Reply with quote

Try using 'db' if you're sure it's a valid code.
Back to top
View user's profile Send private message
Shikakapoop
Expert Cheater
Reputation: 2

Joined: 29 Nov 2006
Posts: 128

PostPosted: Mon Jul 16, 2007 7:22 pm    Post subject: Reply with quote

compactwater wrote:
Try using 'db' if you're sure it's a valid code.


WOOOOOO that worked, thank you.

Code:
[ENABLE]
00424782:
nop
nop
nop
nop
nop
nop
nop
nop

[DISABLE]
00424782:
db F3 0F 11 86 84 00 00 00

_________________
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Tue Jul 17, 2007 10:01 am    Post subject: Reply with quote

Shikakapoop wrote:

WOOOOOO that worked, thank you.


lol, are we learning yet?

Your gonna like that Shikaka....
Back to top
View user's profile Send private message
Shikakapoop
Expert Cheater
Reputation: 2

Joined: 29 Nov 2006
Posts: 128

PostPosted: Tue Jul 17, 2007 11:07 am    Post subject: Reply with quote

Labyrnth wrote:


lol, are we learning yet?

Your gonna like that Shikaka....


lol... I still wanna know wtf xmm0 is.

_________________
Back to top
View user's profile Send private message
xCodex
Grandmaster Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 891

PostPosted: Tue Jul 17, 2007 11:50 am    Post subject: Reply with quote

Holy crap, what kind of processor do you have?
I think it's a 128-bit XMM register...

_________________
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Tue Jul 17, 2007 6:59 pm    Post subject: Reply with quote

Pentium 4 and Xeon processors

128 bit register.

(switch xmm pane to "byte" view)
MOVDQU XMM0,[DQWORD_VALUE1] ;give 1st tester values to XMM0

Google is your friend:
Back to top
View user's profile Send private message
Shikakapoop
Expert Cheater
Reputation: 2

Joined: 29 Nov 2006
Posts: 128

PostPosted: Tue Jul 17, 2007 9:14 pm    Post subject: Reply with quote

Labyrnth wrote:
Pentium 4 and Xeon processors
128 bit register.
(switch xmm pane to "byte" view)
MOVDQU XMM0,[DQWORD_VALUE1] ;give 1st tester values to XMM0
Google is your friend:


You googlenub, you just went with the first result
http://www.jorgon.freeserve.co.uk/TestbugHelp/XMMintins.htm

lol... which of course worked.

The thing is though, I have an amd athlon xp.. slow.

_________________
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Tue Jul 17, 2007 11:10 pm    Post subject: Reply with quote

most likley it is a byte >mnemonic mistranslation.
_________________
Back to top
View user's profile Send private message
xCodex
Grandmaster Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 891

PostPosted: Wed Jul 18, 2007 10:10 am    Post subject: Reply with quote

:O DARK BYTE MMAADDEE ANN EEERRRROOORRRR.
_________________
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