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: Memory View assembly: replace register with number

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

Joined: 12 Aug 2015
Posts: 6

PostPosted: Sat Jul 13, 2019 8:57 pm    Post subject: Help: Memory View assembly: replace register with number Reply with quote

I haven't used Cheat Engine since 6.5 so it's probable things have changed since.
What I've tried to do worked with CE 6.5.

I'm trying to rearrange an instruction in memory view.
mov [some addr],ecx
to
mov a_specific_number_in_hex, ecx
(mov 18C, ecx in this case)


I know CE will need to do some padding for lacking bytes but It doesn't allow me to set it to any number:
"I don't know what you mean by: mov 18c,ecx"

Does anyone know how to replace this address with a number for the mov instruction?



help2.png
 Description:
 Filesize:  4.12 KB
 Viewed:  1627 Time(s)

help2.png



help1.png
 Description:
 Filesize:  1.23 KB
 Viewed:  1626 Time(s)

help1.png


Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 153

Joined: 06 Jul 2014
Posts: 4734

PostPosted: Sat Jul 13, 2019 9:12 pm    Post subject: Reply with quote

Code:
mov [address],ecx
ecx is the source and [address] is the destination.
Code:
mov 18c,ecx
18c is a literal. It makes no sense as a destination. You might want to reverse it, but if you thought the original instruction was a read, that instruction might not be relevant at all.
_________________
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
KneeGrow
How do I cheat?
Reputation: 0

Joined: 12 Aug 2015
Posts: 6

PostPosted: Sat Jul 13, 2019 9:17 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Code:
mov [address],ecx
ecx is the source and [address] is the destination.
Code:
mov 18c,ecx
18c is a literal. It makes no sense as a destination. You might want to reverse it, but if you thought the original instruction was a read, that instruction might not be relevant at all.

oh duh
I always get confused which side is src and destination
I meant to do: mov [addr],18c
Thanks for the help
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