• slider image 442
  • slider image 492
  • slider image 493
  • slider image 494
  • slider image 495
  • slider image 496
  • slider image 491
:::


Browsing this Thread:   1 Anonymous Users






Re: hi-tech c程式 build 後與組合語言對應的問題
#4
版主
版主


查看用戶資訊
元智大學的吳老師是 CCS 的專家。

發表於: 2006/5/12 15:21
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: hi-tech c程式 build 後與組合語言對應的問題
#3
初級會員
初級會員


查看用戶資訊
推一下 BKND的CC5X, CC8E
compiler短小精幹,code size optimization聽說作的比PICC好
我用試用版的就用的很高興囉
不知道有沒有其他先進可分享經驗


發表於: 2006/5/12 14:44
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: hi-tech c程式 build 後與組合語言對應的問題
#2
版主
版主


查看用戶資訊
不用找了,我曾花很多的時間去研究這些Hi-Tech PICC的啟動模組,但Hi-Tech 所提供的資料有限(可能是要保護他自己的機密吧)只能做一些開機後的強制性I/O設定,上述所顯示的section 真的無從下手,這些奇怪的Section就是啟動模組,他們作完系統規劃後才會交給Main函數。

發表於: 2006/5/12 11:39
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


hi-tech c程式 build 後與組合語言對應的問題
#1
新會員
新會員


查看用戶資訊
我使用 HTC_Workshop的範例程式_LAB3,但在build後可看到程式記憶體分布如下

Psect Usage Map:

Psect | Contents | Memory Range
--------- |----------------------------- |--------------------
powerup | Power on reset code | $0000 - $0003
init | Initialization code | $0004 - $000B
end_init | Initialization code | $000C - $000E
clrtext | Memory clearing code | $000F - $0015
stringta | Strings and constant data | $0016 - $002A
const1 | Strings and constant data | $002B - $003C
const | Strings and constant data | $003D - $004E
text3 | Program and library code | $044F - $0458

.................

但不明白為何在C原始程式中卻找不到powerup, init ,end_init,clrtext...這些有相關的程式呢?
我也試過在MPLAB環境下 View_Disassembly Listing雖然有看到C語言與組合程式的對應,但還是找不到,真奇怪

發表於: 2006/5/12 9:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------