Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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


List of 53 messages in thread
TopicAuthorDate
lame linker related question            01/01/70 00:00      
   How else will they know?            01/01/70 00:00      
      why the **** not???            01/01/70 00:00      
         I so disagree            01/01/70 00:00      
            Small addition            01/01/70 00:00      
            how do you know?            01/01/70 00:00      
         Not the only reason!            01/01/70 00:00      
            Can I throw in another problem here...            01/01/70 00:00      
               it is IS a plain include...            01/01/70 00:00      
                  Thanks Jan...            01/01/70 00:00      
                  Proper Solution            01/01/70 00:00      
                     the problem is ...            01/01/70 00:00      
                     what???            01/01/70 00:00      
                        corrections            01/01/70 00:00      
                           path???? Which path?????            01/01/70 00:00      
                              do you REALLY think that a compiler/linker maker w            01/01/70 00:00      
                                 1 experiment > 3e8h words            01/01/70 00:00      
                                    experiment #2: SDCC            01/01/70 00:00      
                                    very hard            01/01/70 00:00      
                                       but it does not matter!            01/01/70 00:00      
                                          you suffer from a gross misconception            01/01/70 00:00      
               a common issue            01/01/70 00:00      
      i'm looking for something much simpler....            01/01/70 00:00      
         Well, that's fairly simple ... ?            01/01/70 00:00      
         Sure.            01/01/70 00:00      
         Contradiction!            01/01/70 00:00      
            not really.....            01/01/70 00:00      
               give an example            01/01/70 00:00      
                  example            01/01/70 00:00      
                     include ?            01/01/70 00:00      
                        Jon, I didn't know...            01/01/70 00:00      
                           I did not build a truck            01/01/70 00:00      
                     no            01/01/70 00:00      
                        Jan, please read my question            01/01/70 00:00      
                           chop it with axe            01/01/70 00:00      
                              chop & glue            01/01/70 00:00      
                                 ok ok ok            01/01/70 00:00      
                     You need to understand            01/01/70 00:00      
   Not quite the right question.            01/01/70 00:00      
   On modular programming            01/01/70 00:00      
      an example, please            01/01/70 00:00      
         \"Lead us not into temptation\"            01/01/70 00:00      
            the temptation is there anyway            01/01/70 00:00      
               Use all the help the tools can give you!            01/01/70 00:00      
                  if there ARE reasons NOT to use the \"tools\"...            01/01/70 00:00      
                     Famous last words.            01/01/70 00:00      
               A real life analogy:            01/01/70 00:00      
                  thin ice            01/01/70 00:00      
               Remove the Temptation            01/01/70 00:00      
                  Do you want less temptation?            01/01/70 00:00      
                     Thank you            01/01/70 00:00      
                     Cohesion & Coupling            01/01/70 00:00      
         Christoph put it nicely            01/01/70 00:00      

Back to Subject List