View previous topic :: View next topic |
Author |
Message |
sven3107 Expert Cheater
Reputation: 0
Joined: 04 Feb 2009 Posts: 118 Location: Belgium
|
Posted: Sun Feb 22, 2009 1:35 pm Post subject: Help on storing doubles |
|
|
Ok, noob question: i want to store a 8-byte equivalent of a double value using the following opcode:
Code: | mov [ebx+00000330],40B38800100000000 |
As you can see, this requires a 8-byte value to be stored but i can't use that code because it only takes the first 4 bytes (wich are 00 00 00 00).
Can anyone tell me how to store this value into that address, please
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Sun Feb 22, 2009 1:42 pm Post subject: |
|
|
Actually, 40B38800100000000 is a 9 byte value
so:
mov [ebx+00000330],00000000
mov [ebx+00000334],0b388001
mov byte [ebx+00000338],04
_________________
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 |
|
 |
sven3107 Expert Cheater
Reputation: 0
Joined: 04 Feb 2009 Posts: 118 Location: Belgium
|
Posted: Sun Feb 22, 2009 2:23 pm Post subject: |
|
|
sorry, i probably miscounted the last zero on the value but thank you very much anyway
Well, i tested that new code and it works absolutely perfectly! Thanks again!
|
|
Back to top |
|
 |
|