| View previous topic :: View next topic |
| Author |
Message |
yazigegeda Expert Cheater
Reputation: 0
Joined: 22 Jan 2019 Posts: 183
|
Posted: Tue Sep 15, 2020 7:19 am Post subject: Can mov only be filled with 4 bytes in length? |
|
|
| Code: |
alloc(newmem,1024)
...
newmem:
mov [address],1234567810......
|
I need to change the value in address to more than 4 bytes? Can it be done?
:?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25893 Location: The netherlands
|
Posted: Tue Sep 15, 2020 7:28 am Post subject: |
|
|
not directly for addresses
You can do:
| Code: |
mov [address],10......
mov [address+4],12345678
|
or
| Code: |
push rax
mov rax,1234567810........
mov [address],rax
pop rax
|
_________________
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 |
|
 |
yazigegeda Expert Cheater
Reputation: 0
Joined: 22 Jan 2019 Posts: 183
|
Posted: Tue Sep 15, 2020 7:55 am Post subject: |
|
|
| Dark Byte wrote: | not directly for addresses
You can do:
| Code: |
mov [address],10......
mov [address+4],12345678
|
or
| Code: |
push rax
mov rax,1234567810........
mov [address],rax
pop rax
|
|
| Code: |
alloc(mem,1024)
.....
mem:
address:
db 8B FF 55 8B EC
|
Is there any way to write like this? :?
|
|
| Back to top |
|
 |
MMM-304 Expert Cheater
Reputation: 0
Joined: 17 Aug 2020 Posts: 170 Location: Milkey Way
|
Posted: Tue Sep 15, 2020 10:25 am Post subject: |
|
|
after 4 bytes separation:
for 4 byte addresses
| Code: | address:
db 8B FF 55 8B EC
address+4:
db //bytes
address+8:
db //bytes |
for 8 byte address
| Code: | address:
db 8B FF 55 8B EC
address+8:
db //bytes
address+10:
db //bytes |
|
|
| Back to top |
|
 |
|