EMBEDDED FLASH MEMORY INTERFACE S3F80P5_UM_ REV1.00

READING

The read operation starts by ‘LDC’ instruction.
The program procedure in user program mode
1. Load a flash memory upper address into upper register of pair working register.
2. Load a flash memory lower address into lower register of pair working register.
3. Load receive data from flash memory location area on ‘LDC’ instruction by indirectly addressing mode
PROGRAMMING TIP — Reading
LD R2,#03H ; Load flash memory’s upper address
; to upper register of pair working register
LD R3,#00H ; Load flash memory’s lower address
; to lower register of pair working register
LOOP: LDC R0,@RR2 ; Read data from flash memory location
; (Between 300H and 3FFH)
INC R3
CP R3,#0FFH
JP NZ,LOOP
14-16