I can tell you how I do it: title list radix ; Commentary ; include files (.inc's with macros, equ's and stuff) EQU's org stuff start main routine subroutines include files (.asm's with more subroutines and EQU's and stuff) end ---------- > From: Mark Birks > To: PICLIST@MITVMA.MIT.EDU > Subject: Pretty Code ?? > Date: Wednesday, January 07, 1998 2:38 AM > > Hi folks, > > Having just got my first PIC 16C84 Code to compile and work (an LCD > Driver) I have decide that I should make the code tidy and modular as a > framework for future projects. > > Does anyone have any example code that shows the correct order for > include files, macros, equates, subroutines etc etc that I could > use/adapt for a template code structure ?? > > Please feel free to email me directly with the code as I can't seem to > get onto the PICLIST at present. > > \\\|/// > \\ - - // "Yes it IS safe > ( @ @ ) to switch on" > +---oOOo-(_)-oOOo------------------+ > | Mark Birks | > | Hardware Section Leader | > | OmniBus Systems, Stanford House, | > | Stanford-on-Soar, | > | Loughborough, Leicestershire. UK.| > | | > | Tel/Fax: +44 (0)990 004300/333 | > | E-Mail: markb@omnibus.co.uk | > | ooo0 | > | ( ) 0ooo | > +---\ (----( )------------------+ > \_) ) / > (_/