How is indirect addressing used?
Answer First write the Data Memory address to be read/write into the Memory Pointer. Then execute the required read/write function on the IAR register, e.g. MOV A, IAR. This will allow the data indicated by the Memory Pointer to be read. The Memory Pointer content is the address. Indirect addressing is particularly convenient for use for handling data arrays, first by placing the array address into the Memory Pointer after which the required data can be read back.