mc68hc908jl16 Freescale Semiconductor, Inc, mc68hc908jl16 Datasheet - Page 196

no-image

mc68hc908jl16

Manufacturer Part Number
mc68hc908jl16
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Development Support
16.3.9.3 LDRNGE
LDRNGE is used to load the data array in RAM with data from a range of FLASH locations.
The start location of FLASH from where data is retrieved is specified by the address ADDRH:ADDRL and
the number of bytes from this location is specified by DATASIZE. The maximum number of bytes that can
be retrieved in one routine call is 128 bytes. The data retrieved from FLASH is loaded into the data array
in RAM. Previous data in the data array will be overwritten. User can use this routine to retrieve data from
FLASH that was previously programmed.
The coding example below is to retrieve 32 bytes of data starting from $EF00 in FLASH. The Initialization
subroutine is the same as the coding example for PRGRNGE (see
LDRNGE
MAIN:
196
JSR
:
BSR
:
:
LDHX
JSR
:
ERARNGE
EQU
INITIALIZATION
#FILE_PTR
LDRNGE
Routine Description
Data Block Format
$FF30
Calling Address
Routine Name
Stack Used
MC68HC908JL16 Data Sheet, Rev. 1.1
Table 16-13. LDRNGE Routine
LDRNGE
$FF30
9 bytes
Bus speed (BUS_SPD)
Data size (DATASIZE)
Starting address (ADDRH)
Starting address (ADDRL)
Data 1
Data N
:
Loads data from a range of locations
16.3.9.1
PRGRNGE).
Freescale Semiconductor

Related parts for mc68hc908jl16