Forum Discussion
hlalumiere
12 years agoRegular Contributor
You need to do a bitwise addition, in other words an OR operation.
If the value is 0x10, then 0x10 OR 0x100 = 0x110 (or 272 decimal).
If it is 10 decimal to begin with, then 0xA OR 0x100 = 0x10A (or 266 decimal).
If the value is 0x10, then 0x10 OR 0x100 = 0x110 (or 272 decimal).
If it is 10 decimal to begin with, then 0xA OR 0x100 = 0x10A (or 266 decimal).