In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Hi, I am working on a VP library that consists of macros. One piece of code for multiple identical VP's. The idea is to declare VP's in the rambank area. At the end the used VP modules are included. The setup works but I need some ideas on the following: At the end of the test file, I include the used library modules. Currently I set include addresses manually to prevent code to cross page boundaries. Any idea how I can automate this? VP code consists of 3 parts: ISR code, mainline code and initialization code. These are all automatically inserted at the proper locations. For the ISR code I face the same problem as above, plus I want to include the isr code in threads. The same isr code may be run from multiple threads. Any idea how I can do that? (I am thinking of supplying thread numbers to the VP macros) regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=80611 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)