Hi,
I am trying to add some value to the low byte of a number according to my logic this should work.
Current code should work assuming number is unsigned.
it doesn't work with many numbers,even though its simply should 100 %.Code:nValue = nValue | ( (nValue & 0xFF) | nAdd);