# 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.

The ISP operations influenced by the addrange directive are the following:

Programming Memory

Reading Memory

Verifying Memory

Blank Checking Memory

Filling the Buffer

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