>True, but I need the first code fragment to be absolute, hence the 'code >statement after then 2nd org. I need to be able to define the start and the >interrupt location.... Or am I missing something completely? Use Olin's development environment as your tutorial. Check his interrupt module for how to assign the interrutp address. here is what I posted for Jinx the other day. === start quote === The linker produces the hex file when doing things this way. But the whole thing can be simplified by the use of batch files. Check out Olin's development environment for one method of doing this. I find that using his environment, with an editor outside MPLAB (Ultraedit is my choice, with an expanded highlighter file) and then having a DOS box open in background to fire off the batch file makes for a very easy and quick assembly cycle. Jan-Erik has documented the loops to go through to run the batch file direct from Ultraedit, on his website. he also has a very nice PDF version of Olin's documentation. http://www.embedinc.com/pic/ http://www.st-anna-data.se/ === end quote === -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu