Das Thema hat sich nun erledigt.
Mein Englisch ist nicht gerade vorzeigefähig, jedoch war folgendes recht lehrsam und einleuchtend im Bezug auf PIC-16 und MPLAB 7.61:
PIC16 Application Example - org
This example shows the usage of the org directive. Code generation begins at an address spcified by org address. The origin of a data table also can be specified by this directive. A data table may be placed either in a program memory region or in an EE data memory region, as in case of a PICmicro device with EE data FLASH.
#include p16f877a.inc ;Include standard header file for the selected device.
org 0x0000 ;The following code will be placed in reset address 0.
goto Main ;Jump to an address whose label is 'Main'.
org 0x0004 ;The following code will be placed in interrupt address 4.
goto int_routine ;Jump to an address whose label is 'int_routine'.
org 0x0010 ;The following code section will placed starting from address 10H.
....
Mein Programmkopf sieht nun so aus und funktioniert nun endlich ohne Murren beim Kompilieren:
Code:
list p=16f84a
include "p16f84a.inc"
__config _XT_OSC & _PWRTE_OFF & _WDT_OFF & _CP_OFF
cblock 0x20 ; Variablen kenzeichnen
Test
w_temp
status_temp
endc
ORG 0 ; Erste Programmadresse
call init ; Port-Initialisierung aufrufen
goto main ; Sprung zur Hauptprogrammschleife
ORG 4 ; Interruptadresse
goto int ; zur Interruptserviceroutine
ORG 10 ; Programm wird ab 10h abgelegt im PIC
main
..........
Wollte das nur erwähnen, für den Nächsten der sich damit rumärgert
Lesezeichen