View Single Post
  #5   Spotlight this post!  
Unread 30-08-2007, 19:17
funkstar funkstar is offline
Registered User
no team
 
Join Date: Aug 2007
Location: sweden
Posts: 4
funkstar is an unknown quantity at this point
Re: simple MPLAB quest

Ok, sorted it myself.. hehe
If I rename the "test.asm" to "test.inc" and include this by: #include <test.inc> in the beginning of the "agraal08.asm" file. Then put a ORG statment on the Sub_Test routine:
Sub_Test ORG 0x0050

and remove the "END" of the .inc file then it seams to work. Have not tried it much but it looks like it behave the way I want. Tomorrow (its quater past 1 at night here.. sould go home form work really..)

Thanks to you trying to help me (probably I am just too novice on this to make your suggestion work for me..).

Best

Per