Programmering av PIC i MPLAB
Postat: 28 september 2008, 13:51:46
Tjenare.
Måste man alltid skriva in detta tillsammans med sitt program i Source ( *.asm) ?
*************************************************************
list p=16F84 ; list directive to define processor
#include <p16F84.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _RC_OSC
ORG 0x000 ; processor reset vector
goto main ; go to beginning of program
ORG 0x004 ; interrupt vector location
*************************************************************
Måste man alltid skriva in detta tillsammans med sitt program i Source ( *.asm) ?
*************************************************************
list p=16F84 ; list directive to define processor
#include <p16F84.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _RC_OSC
ORG 0x000 ; processor reset vector
goto main ; go to beginning of program
ORG 0x004 ; interrupt vector location
*************************************************************