S3F84B8_UM_REV 1.00 3 ADDRESSING MODES3-93.9 INDEXED (X) ADDRESSING MODE (CONCLUDED)Register FileOPERANDProgram MemoryorData MemoryPoint to WorkingRegister PairLSB Selects16-Bitaddressadded tooffsetRP0 or RP1MSB Points toRP0 or RP1SelectedRP pointsto start ofworkingregisterblockSample Instructions:LDC R4, #1000H[RR2] ; The values in the program address (RR2 + 1000H)are loaded into register R4.LDE R4,#1000H[RR2] ; Identical operation to LDC example, except thatexternal program memory is accessed.NEXT 2 Bits RegisterPairValue used inInstruction8-Bits 16-Bits16-Bitsdst/srcOPCODEProgram MemorysrcOFFSET4-bit WorkingRegister AddressOFFSET+~ ~Figure 3-9 Indexed Addressing to Program or Data Memory