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

                       ANSI€American National Standard Institute݊ߕ਷਷࢕ᅺ๟՘ึdϾ ANSI C ݊
                 ༈҅הՓ֛ٙ C ႧԊᅺ๟d΢၇ٙ C ႧԊ̙˸Ⴍே݊˸Ϥމࣨːd್ܝΎ̋ɝ΢ࡈو
                 ͉ІʊٙतЍd͟׵ C ႧԊኹϞ஢εٙᎴᓃdΪϤܘҞఱϓމႧԊʕٙ˴ݴf

             6
   11   12   13   14   15   16   17   18   19   20   21