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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/31/07 07:30
Read: times


 
#143798 - you don't need to do that...
Responding to: ???'s previous message
... if you leave it to the assembler and put the DBs at the end.

Otherwise, if you use a fixed address for the DBs and then the program grows, one you might be unpleasantly surprised by the program mysteriously stops working (actually the same happened to me yesterday).

I'd also like to draw your attention to the outputs (warnings, errors, listfiles) your tools (assembler, linker) produce. They help a lot.

JW


List of 24 messages in thread
TopicAuthorDate
Assembler Directive DB            01/01/70 00:00      
   Hmmm... Looks suspiciously like...            01/01/70 00:00      
   see the list file            01/01/70 00:00      
      movbe the db's to the end            01/01/70 00:00      
   Formatted again            01/01/70 00:00      
      highlight            01/01/70 00:00      
         What do you mean?            01/01/70 00:00      
   Keil DB syntax            01/01/70 00:00      
      I think i found the problem            01/01/70 00:00      
         you don't need to do that...            01/01/70 00:00      
            You are Right            01/01/70 00:00      
   Another Bug found            01/01/70 00:00      
      What is the crystal frequency?            01/01/70 00:00      
      I doubt it            01/01/70 00:00      
   Another Mode Added ,19200 problem solved            01/01/70 00:00      
      how do you mean this?            01/01/70 00:00      
         Couldnt get your query            01/01/70 00:00      
            END is not an instruction            01/01/70 00:00      
      END is not an instruction!!!            01/01/70 00:00      
         Got the point ; query about program loop            01/01/70 00:00      
            How microcontroller programs end (or don't)            01/01/70 00:00      
               Alternative to infinite loop            01/01/70 00:00      
            what is an infinite loop?            01/01/70 00:00      
               That must be the reason...            01/01/70 00:00      

Back to Subject List