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 


auto assembler bug ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sat Feb 23, 2013 5:23 pm    Post subject: auto assembler bug ? Reply with quote

Code:
mov byte ptr edx,[stuff]

Cheat Engine 6.2 wrote:
Error in line 56 (mov byte ptr edx,[00000000]):This
instruction can't be compiled

Why is that ?

_________________
... Fresco
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25835
Location: The netherlands

PostPosted: Sat Feb 23, 2013 5:40 pm    Post subject: Reply with quote

that 00000000 part is just a temporary placeholder for the syntax checking

That it won't compile is because there is no mov r32,m8

if you wish to write a 1 byte memory address into edx, and clear the upper bits you must first clear the whole edx register and then set the lowest byte of the edx register

Code:

xor edx,edx //or mov edx,0
mov dl, [stuff]

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
mgr.inz.Player
I post too much
Reputation: 222

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

PostPosted: Sat Feb 23, 2013 5:55 pm    Post subject: Reply with quote

there is also movzx instruction.
_________________
Back to top
View user's profile Send private message MSN Messenger
Fresco
Grandmaster Cheater
Reputation: 4

Joined: 07 Nov 2010
Posts: 600

PostPosted: Sat Feb 23, 2013 5:57 pm    Post subject: Reply with quote

Thanks it worked Smile
_________________
... Fresco
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