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


Browsing this Thread:   1 Anonymous Users






Re: 請教Instruction reg和程式起始問題
#2
版主
版主


查看用戶資訊
1. Mid-Range PIC16Fxxx 的元件 Instruction Set 的機械碼就是 14-bit 得架構,指令解碼器也市直接解 14-bit 的指令,這點與彷間的 80C81, 68HCxx 等的設計是不一樣的。

2. 你應該是剛接觸 MCU 吧! 在0x0000的地方通常會放 goto xxxx 將RESET的執行控制權轉移出來。 0x0004 是中斷程式進入點 (它不是中斷向量點) 一般也是利用Goto xxxx 將控制權轉到中斷副程式的進入點。

發表於: 2005/10/14 14:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請教Instruction reg和程式起始問題
#1
新會員
新會員


查看用戶資訊
各位先進大家好
在使用PIC16F877的時候碰到兩個問題
1.==================================
第一個是程式暫存器的工作原理
在內部電路方塊圖內可以看到直接定址7個bits到Ram File Reg
然而有八條線卻通往指令控制與解碼和進入ALU前的MUX
這裡卻想不通 從FLASH ROM下來後的程式記憶體有14個位元
但卻分成7和8個位元 這個Instruction reg是如何工作的呢?
2.==================================
重置向量0000H-0003H之前是謂何所用
又中斷向量位置在0004H
那如果每行程式是依照0000H開始排序
那不就會佔用到中斷向量的0004H嗎
還是說程式在編譯的時候會自動跳過這個位址
往0005H存放呢?
====================================
請大家幫我解決 謝謝


發表於: 2005/10/13 22:17
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... ]

教育訓練中心

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