This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

.cio : >> RAML0 | RAMM1 PAGE = 1 中的cio是哪个段的定义?

   .cio                : >> RAML0 | RAMM1      PAGE = 1 

如题,在F28035_CLA_C.cmd中发现的这一句,资料没有查到,这是什么意思呢?

谢谢!

  • 这个cio段是做什么的呢?

  • 你好,

    初始化块

                            .text      可执行代码和常数(program)

                            .switch  switch语句产生的常数表格(program/低64K数据空间)

                             .pinit     Tables for global constructors (C++)(program)

                            .cinit     用来存放对全局和静态变量的初始化常数值(program)

                            .const    全局和静态的const变量初始化值和字符串常数,(data)

                            .econst 长.const(可定位到任何地方)(data)

                            .cio printf等输入输出函数使用的缓冲区所在的段

                            .far  为程序中用far声明的全局和静态变量保留空间

  • 谢谢你的完美解答。