Is there way to move RESET_ORG to other address, without moving interrupt vector?
DEFINE RESET_ORG 004h also move vectors. In .LST file interrupt vector are defined as RESET_ORG+8h or 18h.
DEFINE LOADER_USED 1 doesn't do anything. I'm looking in disassembled hex file...
This is test code:
Code:
DEFINE NO_CLRWDT 1
DEFINE LOADER_USED 1
DEFINE INTHAND myint ' Define interrupt handler
DEFINE INTLHAND myint ' Define interrupt handler
Start:
PORTD.6=1
PORTD.6=0
GOTO Start
@myint bcf PORTB,1

Also I noticed that with or without NO_CLRWDT 1, there is no CLRWDT in hex file.
Bookmarks