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 


Help !!! code with xmm register

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

Joined: 13 May 2017
Posts: 10

PostPosted: Tue Mar 30, 2021 5:23 am    Post subject: Help !!! code with xmm register Reply with quote

hi
want to add "2000" in [esi] (value is double) plz help me out


code:
subsd xmm1,xmm0
movsd [esi],xmm1
jmp return




tried this but not working
label(val)
code:
subsd xmm1,xmm0
movsd xmm1,[val]
movsd [esi],xmm1
jmp return
val:
dq (double)2000


Last edited by ali_ali_ali_ali_ali on Tue Mar 30, 2021 6:14 am; edited 1 time in total
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Tue Mar 30, 2021 6:05 am    Post subject: Reply with quote

Change that last part where you declare val.
Code:
val:
  dq (double)2000

_________________
Back to top
View user's profile Send private message Visit poster's website
ali_ali_ali_ali_ali
Newbie cheater
Reputation: 0

Joined: 13 May 2017
Posts: 10

PostPosted: Tue Mar 30, 2021 6:13 am    Post subject: thanks Reply with quote

thanks for the reply i write it wrong here let me correct it ( in the game i write correctly as u mentioned dq (double)2000 b ut didnt work Sad.. )
Back to top
View user's profile Send private message
sbryzl
Master Cheater
Reputation: 6

Joined: 25 Jul 2016
Posts: 252

PostPosted: Tue Mar 30, 2021 6:52 am    Post subject: Reply with quote

Code:
label(val)
code:
subsd xmm1,xmm0
addsd xmm1,[val]
movsd [esi],xmm1
jmp return
val:
dq (double)2000
Back to top
View user's profile Send private message
ali_ali_ali_ali_ali
Newbie cheater
Reputation: 0

Joined: 13 May 2017
Posts: 10

PostPosted: Tue Mar 30, 2021 9:58 am    Post subject: thanks Reply with quote

thanks man i will try it
Back to top
View user's profile Send private message
MMM-304
Expert Cheater
Reputation: 0

Joined: 17 Aug 2020
Posts: 170
Location: Milkey Way

PostPosted: Tue Mar 30, 2021 11:45 pm    Post subject: Reply with quote

using x87FPU:
Code:

fld qword ptr [val]
fadd qword ptr [esi]
fstp qword ptr [esi]
val:
 dq (double)2000


using SSE:
Code:

movsd xmm1,[esi]
addsd xmm1,[val]
movsd [esi],xmm1
val:
 dq (double)2000
Back to top
View user's profile Send private message
ali_ali_ali_ali_ali
Newbie cheater
Reputation: 0

Joined: 13 May 2017
Posts: 10

PostPosted: Wed Mar 31, 2021 3:57 am    Post subject: Reply with quote

thanks man really appreciate
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