Page 1 of 1

How do you add a constant to an address with a double value?

Posted: Fri Oct 11, 2024 4:46 am
by Mr. Alien
Let's say I have a health value and it's in Double. I want to do an addition in Assembly that adds 10 every time the code that changes the value triggers. Normally I would just use Add but I don't think it works because the Double is actually a really big value in normal integer.

Re: How do you add a constant to an address with a double value?

Posted: Sat Oct 12, 2024 5:11 pm
by AlexS
Mr. Alien wrote:
Fri Oct 11, 2024 4:46 am
Let's say I have a health value and it's in Double. I want to do an addition in Assembly that adds 10 every time the code that changes the value triggers. Normally I would just use Add but I don't think it works because the Double is actually a really big value in normal integer.
ADDSD
[Link]
[Link]