Factor out code for address range check into subroutine.
Check if RAM test spans two pages.