| View previous topic :: View next topic |
| Author |
Message |
Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
Posted: Sat Feb 23, 2013 5:23 pm Post subject: auto assembler bug ? |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sat Feb 23, 2013 5:40 pm Post subject: |
|
|
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Feb 23, 2013 5:55 pm Post subject: |
|
|
there is also movzx instruction.
_________________
|
|
| Back to top |
|
 |
Fresco Grandmaster Cheater
Reputation: 4
Joined: 07 Nov 2010 Posts: 600
|
|
| Back to top |
|
 |
|