Set a range of memory addresses.