# Specifying a Range of Addresses

TYPE | DIRECTIVE | OPTIONAL | ARGUMENTS
Operation | addrange | Yes | <addrMin> <addrMax>

The addrange directive is used to specify a range of addresses on which subsequent operations will be performed.

If no address range is specified, ISP operations apply to the whole memory.

After you load an HEX file into the ISP buffer, the address range changes to the HEX file range of addresses. You have to use the addrange directive again if this behavior is not what you expected.

Example of use :

> batchisp -device t89c51cc01 -operation addrange 0x0 0x7FF blankcheck