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 


Enter Multiplication!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Coreveen
Cheater
Reputation: 0

Joined: 12 May 2011
Posts: 39

PostPosted: Mon Mar 13, 2017 10:09 pm    Post subject: Enter Multiplication! Reply with quote

Hello! Would anyone mind helping me learn how to multiply a specific register if that's possible?

Basically I'd like to turn this code:

Code:
  add ecx,edx
  mov [rax],ecx


Into the same thing except multiply edx by a custom amount (say 3 or 5) before it gets added with ecx.

How would I go about translating this desire in the auto assemble?

Thank you for your time.
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Tue Mar 14, 2017 3:15 am    Post subject: Reply with quote

http://wiki.cheatengine.org/index.php?title=Assembler:Commands:MUL
_________________
Back to top
View user's profile Send private message Visit poster's website
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Mar 14, 2017 5:40 am    Post subject: Reply with quote

Code:
  imul edx,edx,5
  add ecx,edx
  mov [rax],ecx

_________________
Back to top
View user's profile Send private message MSN Messenger
Coreveen
Cheater
Reputation: 0

Joined: 12 May 2011
Posts: 39

PostPosted: Tue Mar 14, 2017 7:10 am    Post subject: Reply with quote

@mgr.inz.Player

Much appreciated, sir!

@TheyCallMeTim13

I wasn't able to understand the information on the webpage you linked, sorry.
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