2311 views|0 replies

3836

Posts

19

Resources
The OP
 

c_int00 Introduction [Copy link]

_c_int00 is branch to start of boot.asm in RTS libray //Translated into Chinese, _c_int00 is the entry address of rts2800_ml.lib; · _c_int00 is the entry address of the C initialization code· When you program in C, the DSP needs to execute a section of C runtime support library code to complete the initialization of the C runtime environment. _c_int00 is the entry address of this initialization code. · The _c_int00 function is in the runtime support library (rts, runtime-support library). The connector will place the entry address of this function at the reset interrupt vector so that it can be called during initialization. The c_int0 function performs the following work to establish the C runtime environment: Generate a .stack block for the system stack and initialize the stack pointer. Copy the initialization data from the .cinit block to the corresponding variables in the .bss block. · After executing the initialization code, it jumps to the main function and starts running the C program; · rts2800.lib: C/C++ runtime support library; · rts2800_ml.lib C/C++ large memory mode runtime support library. · There are a lot of floating point operation processing functions in rts2800_ml.lib, but not in rts2800.lib. · There is a difference in the pointer access space. The pointer of the library function in rts2800.lib is near, so 3Fxxxx cannot be accessed, but rts2800_ml.lib can (the name of the large and small memory modes is that the size of the accessible memory is different. The small memory mode can only access the lower 64k address, that is, the 16-bit address line)

This post is from Microcontroller MCU
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list