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 


This instruction can't be compiled[error]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Guipinii
How do I cheat?
Reputation: 0

Joined: 22 Jan 2023
Posts: 1

PostPosted: Sat Dec 23, 2023 1:48 pm    Post subject: This instruction can't be compiled[error] Reply with quote

i need help on this please
Code:
Error in line 20 (vcvtsi2ss xmm0,eax,[rsi+000005C0])
:This instruction can't be compiled


im still a newbie using CE thank you Very Happy
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Sat Dec 23, 2023 3:16 pm    Post subject: Reply with quote

I don't know what you're trying to do.

`cvtsi2ss` converts a signed integer to a float. The first argument is an xmm register- it's where the float gets written to. The second argument is the source: a 32-bit register or memory location.

The AVX version `vcvtsi2ss` takes 3 arguments. The first is the same- an xmm register that gets written to. The last argument is also the same- a 32-bit register or memory location storing a signed integer.
The second argument is an xmm register. The instruction reads the second, third, and fourth float in this xmm register and writes them to the corresponding location in the destination xmm register (first argument).
pseudo-C:
Code:
vcvtsi2ss xmm0,xmm1,eax

xmm0 = {
          (float)eax,
          xmm1[1],
          xmm1[2],
          xmm1[3]
       }

If you have no idea what I'm talking about, just use the same register for the first and second arguments.
Code:
vcvtsi2ss xmm0,xmm0,[rsi+5C0]

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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