Posted: Sat May 24, 2014 6:48 am Post subject: editing values in scrips
I know that i can use (int) (float) and the '#' sign to easly change values in scripts, but i have a question, can i also use a "(something)" form to change double , byte, 2byte, 8byte , string ... etc'?
Posted: Sat May 24, 2014 10:30 am Post subject: Re: editing values in scrips
mixmax35 wrote:
I know that i can use (int) (float) and the '#' sign to easly change values in scripts, but i have a question, can i also use a "(something)" form to change double , byte, 2byte, 8byte , string ... etc'?
You aren't giving enough context for a definitive answer. If you're just trying to move literals into a register you can use the smaller registers (eg eax -> ax or ah/al) to ensure you're working w/ only 1/2 bytes or the word ptr/byte ptr specifiers when moving to memory. Anything literal bigger than your registers will obviously need to be moved to memory and handled differently, perhaps with a pointer. _________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
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