??? 02/26/07 22:49 Read: times |
#133756 - example Responding to: ???'s previous message |
I'm not sure how much more of an exmaple I can give... I just want one file of equates/memory reservations, one file with my main loop, one file with feature specific funtions (eg UART). Back to the original question, how can I do this? I really don't care if people think it's "bad" practice, in my opinion it will make things a lot easier to read. It's no different that having one file broken down with logical labels etc. I'm just trying to separate chunks of code into different files. If for some bizarre reason my goal isn't clear see this explicit example below.
Thanks, D File 1 blah1 equ something blah2 equ somethign2 fodskfs ds 29 sadds ds 23 File 2 Assembly_Funtion: mov a, #dsfdsfdsf ret File 3 uart_stuff: mov SBUF0, #sodsfl; . . . ret |