My question is in regards to dealing with address spaces.
I have two address spaces which are in Hex: 0x7fffff09 and 0x7fffff08.
How can I know if they are divisible by 8 or 8 byte aligned ? Like what would the check look like in C or C++ code. I know you usually you use mod for regular numbers and if there is no remainder then you know it is divisible.
Edit: Address space can be __8, __16, __32 (8 bits, 16 bits, 32 bits)