參數(shù)資料
型號: SC100
廠商: Motorola, Inc.
英文描述: High-Performance Fix-Point DSP Core(高性能定點型數(shù)字信號處理器內(nèi)核)
中文描述: 高性能固定點DSP內(nèi)核(高性能定點型數(shù)字信號處理器內(nèi)核)
文件頁數(shù): 154/212頁
文件大?。?/td> 2672K
代理商: SC100
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁當(dāng)前第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁
6-8
SC100 C Compiler
Runtime Environment
The compiler makes no assumptions about which stack pointer to use, and uses the pointer for the current
processor mode to point to the address at the top of the stack.
When the system is initialized, the stack pointer for the current mode is set by default to the address of the
location directly after the code area, as defined in
StackStart
in the linker command file. The actual
address of the stack is determined at link time.
The stack pointer for the current processor mode is automatically incremented by the C environment at the
entry to a function. This ensures that sufficient space is reserved for the execution of the function. At the
function exit, the stack pointer is decremented, and the stack is restored to its previous size prior to
function entry. If your application includes assembly language routines and C code, you must ensure at the
end of each assembly routine that the current stack pointer is restored to its pre-routine entry state.
Note:
If you change the default memory configuration, remember to allow sufficient space for the stack
to grow. If a stack overflow occurs at runtime, this will cause your program to fail. The compiler
does not check for stack overflow during compilation or at runtime.
6.3.1.2 Dynamic memory allocation (heap)
The runtime libraries supported by the compiler include a number of functions which enable you to
allocate memory dynamically for variables. See Chapter 7 for details of the runtime libraries supported.
Since C does not support the dynamic allocation of memory, the compiler assigns an area of memory as a
heap for this purpose.
The compiler allocates memory from a global pool for the stack and the heap together. The lower address
of the area assigned to the stack and heap is defined in
StackStart
, in the linker command file. The heap
starts at the top of memory, and is allocated in a downward direction toward the stack.
Objects that are dynamically allocated are addressed only with pointers, and not directly. The amount of
space that can be allocated to the heap is limited by the amount of available memory in your system.
To make more efficient use of the space allocated to data, you can use the heap to allocate large arrays,
instead of defining them as static or global.
For example, a definition such as
struct large array1[80];
can be defined using a pointer and the
malloc
function, as illustrated in Example 6-6.
Example 6-6. Allocating large arrays from the heap
struct large *array1;
array1 = (struct large *)malloc(80*sizeof(struct large));
6.3.2 Static Data Allocation
When you compile your application in non-global mode, the allocations for each file are assigned to
different sections of data memory. At link time these are dispatched to different addresses.
When compiling in global mode, the compiler uses the same data section for all allocations. If you want to
override this and to instruct the compiler to use non-contiguous data blocks, you can edit the machine
configuration file to define the exact memory map of the system that you want to use. For more details, see
Section 6.3.4,
Machine Configuration File.
相關(guān)PDF資料
PDF描述
SC1100 Geode⑩ Information Appliance On a Chip
SC1100UFH-233 Geode⑩ Information Appliance On a Chip
SC1100UFH-266 Geode⑩ Information Appliance On a Chip
SC1100UFH-300 Geode⑩ Information Appliance On a Chip
SC11372 MOBILE RADIO ANALOG PROCESSOR
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S-C-100 功能描述:SEA BRAID GREEN .075" X 100' RoHS:否 類別:焊接、脫焊、返修產(chǎn)品 >> 脫焊條,Wick 型 系列:Sea Braid 標(biāo)準(zhǔn)包裝:1 系列:- 類型:免清洗 寬:0.094"(2.39mm) 長度:8.0" (203.2mm) 顏色:黃
SC-100 制造商:SLPOWER 制造商全稱:SL Power Electronics 功能描述:Output voltages from 3.3 V to 48 V
SC1000 功能描述:UPS - 不間斷電源 APC Smart-UPS SC 2U Rackmount/Tower RoHS:否 制造商:Phoenix Contact 功率額定值: 輸出電壓額定值:24 V 出口數(shù)量:2 運行時間(滿載): 運行時間(半載):
SC-1000 制造商:Thomas & Betts 功能描述:SVCE CBL CAP, OVAL W/SPLIT INSUL 制造商:Thomas & Betts 功能描述:Fittings Clamp Steel
SC1000-1 制造商:Thomas & Betts 功能描述:SVCE CBL CAP, OVAL W/SPLIT INSUL,EA