#define LIBMEM_ADDRESS_IN_RANGE(address, startAddress, endAddress) ((address >= startAddress) && (address <= endAddress))
LIBMEM_ADDRESS_IN_RANGE is used to determine whether an address is within an address range.
address — The address to check.
startAddress — The start address of the address range.
endAddress — The end address of the address range.
LIBMEM_ADDRESS_IN_RANGE returns — Non-zero if address is within address range.