• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: 老師.. 偶又有問題囉??
#5
版主
版主


查看用戶資訊
程式設好
ORG 0x000
goto Start
;
就從這裡開始些寫副程式吧!


發表於: 2005/9/21 15:36
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 老師.. 偶又有問題囉??
#4
資深會員
資深會員


查看用戶資訊
謝謝版主
16C5X series 偶還不會用 笨鳥偶還在玩10F20X series.
所以啦 可不可以 教偶 如何把副程式放在前 256 bytes裡。

發表於: 2005/9/21 4:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 老師.. 偶又有問題囉??
#3
版主
版主


查看用戶資訊
PIC10F 是屬於 12-bit core PIC architecture ,所以指令的長度被限定在 12 個 bit 的長度。
Call 指令用幾次沒關係,但是不可以超過兩層,從 call 指令的machine code 來看他只有 8-bit 的直接位址存在指令裡所以 call 指令只能呼叫每個 Page (512 Bytes) 的前 256 個位址,所以副程式就只能放在前 256 bytes裡。

詳情請看 PIC16C5x Data sheet, Page 31 (6.5 Program counter)

http://ww1.microchip.com/downloads/en/DeviceDoc/30453d.pdf

發表於: 2005/9/20 17:33
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 老師.. 偶又有問題囉??
#2
資深會員
資深會員


查看用戶資訊
阿哈..... 素不素偶 的笨程式 超過記憶容量啦 !!!!!
如何在 MPLAB IDE v7中 ,查程式使用量呀???
素不素 這麼個踗.... checksum: 0xee1d ....

發表於: 2005/9/20 6:57
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


老師.. 偶又有問題囉??
#1
資深會員
資深會員


查看用戶資訊
Dear All :
中秋節快樂嗎??
偶又有問題囉?? 所以不黑皮耶!!!

在10F202中 使用 " CALL " 的指令是否有限制次數呢?

我連續 CALL 40次,結果組譯時從第20個 CALL 出現問題....
Call or jump not allowed at this address ( must be in low half page )
偶素不素又做錯甚麼咚咚啦
那偶該怎麼辦踗?????

發表於: 2005/9/20 5:12
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... ]

教育訓練中心

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