??? 02/26/07 10:19 Read: times |
#133704 - Contradiction! Responding to: ???'s previous message |
David Gal said:
All I want to do is be able to minimize my scrolling/searching through code. I'd like one file that has all my EQU/SET/DS/DB/etc, But the reason that you have lots of "scrolling/searching through code" is precisely because you do have everything in one file! Organising your whole system into logical "modules" helps you find stuff because you know that everything to do with the UART will be in UART.ASM and UART.INC; your main loop might be in MAIN.ASM, etc. Of course, there will be some things that really are global to the whole project - eg, SFR definitions - which could go in a GLOBAL.INC is you really can't think of a better place! |