User`s guide

Libraries and Runtime Code
Runtime Initialization
330
Targeting MC56F83xx/DSP5685x Controllers
The starting point for a program is set in the Entry Point field in the M56800E Linker
settings panel.
The project for the DSP56800E runtime is:
CodeWarrior\M56800E Support\runtime_56800E\projects\Runtime 56800E.mcp
When creating a project from R1.1 or later Stationery, the associated init code is
specific to the DSP56800E board. See the startup folder in the new project folder for
the init code.
Listing 11.1 Sample Initialization File (DSP56852EVM)
#
; -------------------------------------------------------
;
; 56852_init.asm
; Metrowerks, a Motorola Company
; sample
description: main entry point to C code.
; setup runtime for C and call main
;
; -------------------------------------------------------
;===============================
; OMR mode bits
;===============================
NL_MODE EQU $8000
CM_MODE EQU $0100
XP_MODE EQU $0080
R_MODE EQU $0020
SA_MODE EQU $0010
Table 11.3 Library Names and Locations
Library Name Location
Large Memory Model
Runtime 56800E lmm.lib
CodeWarrior\M56800E Support\runtime_56800E\lib
Small Memory Model
Runtime 56800E.Lib
CodeWarrior\M56800E Support\runtime_56800E\lib