John Piccirillo wrote : > Trying to assemble old code it seems that the statement >=20 > ORG 0x000 >=20 > no long works, but has been replaced by It does, if you are building using a=B4bsolute mode. > RESET_VECTOR CODE 0x000 > with the word CODE before the program. And that is for relocatable mode. > Is this true; is there a way to invoke the old style ? Yes, use absolute mode (do not include a linker script in your project). By why ? > The templates use a form for the interrupt vector, >=20 > ORG 0x004 is replaced by >=20 > INT_VECTOR CODE 0x000 Should be : > INT_VECTOR CODE 0x004 > followed by the isr. However, this bombs when I try to assemble it; Yes, since it has the same address as "RESET_VECTOR". > it assembles if the isr is put elsewhere and referred to with=20 > a goto label, however, in this case, the CODE designator > doesn't seem to be required before the isr program. The OCDE is used anyware where you wan't to start a new code segment. > Will someone please straighten this out for me ? If there are still additional issues, you might want to show a larger part of the code... Personaly, I'd recomend relocatable mode (that is, using CODE, RES and so on, instead of ORQ, EQU and CBLOCK...) Jan-Erik. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist