日本a√视频在线,久久青青亚洲国产,亚洲一区欧美二区,免费g片在线观看网站

        <style id="k3y6c"><u id="k3y6c"></u></style>
        <s id="k3y6c"></s>
        <mark id="k3y6c"></mark>
          
          

          <mark id="k3y6c"></mark>

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > arm 變量或數(shù)組放置在指定地址

          arm 變量或數(shù)組放置在指定地址

          作者: 時間:2016-11-20 來源:網(wǎng)絡(luò) 收藏

          語法

          __attribute__((at(address)))

          其中:

          本文引用地址:http://yuyingmama.com.cn/article/201611/319040.htm
          address

          是所需的變量地址。

          限制

          鏈接器并非始終能夠放置 at 變量屬性生成的節(jié)。

          錯誤

          如果無法將節(jié)放置在指定地址,鏈接器將顯示一條錯誤消息。

          示例

          const int x1 __attribute__((at(0x10000))) = 10; int x2 __attribute__((at(0x12000))) = 10; int x3 __attribute__((at(0x14000))) = 0; int x4 __attribute__((at(0x16000)));

          另請參閱

          uint32constEnCode__attribute__((at(0x1FC)))=0x87654321;

          或者加入:

          #include
          const char MyText[] __at (0x1F00) = "TEXT AT ADDRESS 0x1F00";



          關(guān)鍵詞: arm變量數(shù)組指定地

          評論


          技術(shù)專區(qū)

          關(guān)閉