MC68HC908AP16CFA MOTOROLA [Motorola, Inc], MC68HC908AP16CFA Datasheet - Page 173

no-image

MC68HC908AP16CFA

Manufacturer Part Number
MC68HC908AP16CFA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
10.5.3 LDRNGE
MC68HC908AP Family — Rev. 2.5
MOTOROLA
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 255 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 64 bytes of data starting from
$EE00 in FLASH. The Initialization subroutine is the same as the coding
example for PRGRNGE (see
LDRNGE
MAIN:
Routine Name
Routine Description
Calling Address
Stack Used
Data Block Format
Freescale Semiconductor, Inc.
For More Information On This Product,
BSR
:
:
LDHX
JSR
:
Go to: www.freescale.com
EQU
INITIALIZATION
#FILE_PTR
LDRNGE
Table 10-13. LDRNGE Routine
LDRNGE
Loads data from a range of locations
$FC00
7 bytes
Bus speed (BUS_SPD)
Data size (DATASIZE)
Starting address (ADDRH)
Starting address (ADDRL)
Data 1
Data N
:
$FC00
10.5.1
PRGRNGE).
ROM-Resident Routines
Monitor ROM (MON)
Data Sheet
173

Related parts for MC68HC908AP16CFA