How do I do math with a long long value
I am trying to do something like
Xmath 0xef000000 x 0x77 / 0xb
Quick bms math
-
- Posts: 416
- Joined: Sat Sep 15, 2018 5:22 am
Re: Quick bms math
chrrox wrote:How do I do math with a long long value
I am trying to do something like
Xmath 0xef000000 x 0x77 / 0xb
i dont think can support right now, but it can help a lot in a lot of times!
but you can normally do this
Code: Select all
xmath NUMBER "VALVEU1 + VALUVE2"
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: Quick bms math
Yeah the math function works just not with values over 0xffffffff
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Quick bms math
you must use quickbms_4gb_files for enabling 64bit operations.
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: Quick bms math
Yeah I did it does not carry over the number after the 8th digit
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Quick bms math
I don't know, here it works perfectly:
Can you provide a better example?
Code: Select all
math VAR1 = 0x11223344
math VAR2 = 0xffffffff00000000
xmath VAR "VAR1 + VAR2"
print "%VAR|X%"
Can you provide a better example?
-
- Posts: 388
- Joined: Thu Aug 07, 2014 10:28 pm
Re: Quick bms math
weird it seems to be working now I must have not been using the 4gb files one before.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Quick bms math
Anyway if you post something wrong let me know as soon as possible since version 0.9.3 will be released next week.