Page 16 - PIC18F4550微處理機C語言設計實務
P. 16
PIC18F4550 ฆஈଣዚ C ႧԊணࠇྼਕ
ORG: ৎᓃOriginalٙจܠfѓൡଡ଼ᙇኜίଡ଼ᙇϓዚᇁࣛdІ ORG ൈᏝܸ˿˸
ɨٙόዚᇁܸ֛ٙ͟াኳЗѧৎdԱҏરΐfจуτરܸ˿ᇁίাኳ
ٙৣໄЗѧf
ORG ᄳίЪᇁᙷЗdόাኳЗѧᄳί༶ၑɿᙷЗfԷνj
ORG 1FFH
ѓൡଡ଼ᙇኜ˸ɨܸٙ˿ᇁ 1FFH Зѧකᓖໄi͜Ը੶Փᇍܸ˿ᓖ׳ί
όাኳٙЗѧf
END: ѓൡଡ଼ᙇኜࡈόՑϤഐҼd˸ɨʔ͜Ύᘱᚃଡ଼ᙇfவ݊όʕʔ̙אॹٙ
ൈᏝܸ˿fӊࡈόٙ௰ܝேცࠅϞൈᏝܸ˿ END ԸᅺͪόഐҼf
ଡ଼ΥႧԊႧجॉܘˇdШόٙᜌ፨ҏ฿ׂࠅܘูfԨ˲ცࠅ༈౺˪ܸٙ
˿ණe༈౺˪ٙাኳৣໄeูהცࠅԴ͜Ցٙʫմᗙᅼଡ଼છՓᅲπኜ̌ঐf
ΪϤd࿁ࠅԴٙ͜ఊ౺˪ഐଡ଼ᔌ̀ܘูdԫٙ౺˪༟ࣘᛘdϓމɓɽࠋዄf
ଡ଼ΥႧԊٙൈᏝܸ˿ʔස˸ɪவɧࡈd͉ࣣʔ˸ଡ଼ΥႧԊމ˴d݂ίϤʔ̋˸༉
Ⴍf
1-3 C 語言
ϘಂԴ͜ఊ౺˪ٙɛdɽʱே݊Դ͜ଡ଼ΥႧԊԸᅠᄳόdɓ˙ࠦ݊ଡ଼ΥႧԊ
༰މટڐd࿁ٙܓ༰ٜટd̤ɓ˙ࠦϘಂٙఊ౺˪াኳ༰ʃdԴ͜ଡ଼
ΥႧԊ̙˸༰މືাኳԴ͜d್ίԴ͜ PIC ˙ࠦɰ݊ɓᅵٙf
͉ࣣ͟˴ࠅ݊Դ͜ C ႧԊԸᅠᄳ PIC ٙόd࿁ϘಂԴ͜ଡ଼ΥႧԊٙɛא
ึˢ༰ࠤ͛dה˸Ңࡁᒔ݊ PIC ٙ C ႧԊਿ͉ႧجකႭৎdMicrochip 8bit ٙ PIC
̙˸Դٙ͜ C ႧԊᇜᙇኜϞ MPLAB XC8eIAR CeKeil C ഃഃd͉ࣣ݊˸ Microchip
Іʊක೯ٙ MPLAB XC8 Compiler މ˴Ⴍf
MPLAB XC8 ᇜᙇኜ݊ɓ၇ዹͭόٙᎴʷ ANSI C ᇜᙇኜd̴˕౪ Microchip הϞ
8bit PIC ఊ౺˪dϞ PIC10ePIC12ePIC16 ʿ PIC18 Όӻΐd༈ᇜᙇኜ̙˸Դ͜
၇౷ཁٙЪุӻ୕dܼ̍ə 32 Зʩձ 16 Зʩٙ WindowseLinux ձ Apple OS Xf
ANSIAmerican National Standard Institute݊ߕᅺึdϾ ANSI C ݊
༈҅הՓ֛ٙ C ႧԊᅺd၇ٙ C ႧԊ̙˸Ⴍே݊˸Ϥމࣨːd್ܝΎ̋ɝࡈو
͉ІʊٙतЍd͟ C ႧԊኹϞεٙᎴᓃdΪϤܘҞఱϓމႧԊʕٙ˴ݴf
6