Reading, Programming tip ⎯ reading – Samsung S3C8275X User Manual

Page 294

Advertising
background image

S3F8275X

EMBEDDED FLASH MEMORY INTERFACE

16-11

READING

The read operation of programming starts by 'LDC' instruction.

The Reading 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,#3H

; Load flash memory upper address

; To upper of pair working register

LD

R3,#0

; Load flash memory lower address

; To lower pair working register

LOOP:

LDC

R0,@RR2

; Read data from flash memory location

; (Between 300H and 3FFH)

INC

R3

CP

R3,#0H

JP

NZ,LOOP


•

•

•

•

Advertising
This manual is related to the following products: