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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/18/05 08:13
Modified:
  10/18/05 15:55

Read: times


 
#102531 - no problem with hex
Responding to: ???'s previous message
Yes you can add STARTUP51.A to your ASM code and see generated code at debugging time. You observe the difference between adding STARTUP file and without STARTUP file. You read in the mannual that why is that startup code is required.

Do you mean to say that without adding startup file it is not developing hex file?

Regards
Sarang


Let me make it clear.
The doubt i posted is ..." whether to add the startup code for assembly code (since the example in manual is for C)" and for that u hav given me the answer.
and...
No problems with HEX file creation..


What i got from manual is.....,
i got that adding startup code help to do the following.

clearing data memory
initializing hardware reentrant stack pointers
Enabling on-chip external data memory
and match our file to the Target Hardware (for most CPU variants)

But nowwwww, without adding it in my code i could see the micro working fine.
so getting back to what u have said ..
will there be chances for any problem to get arise for having not added the startup code..

If not above... i would like to know the exact use of adding it
to any application.


from
Suresh

List of 29 messages in thread
TopicAuthorDate
writing code in interrupt handler addr            01/01/70 00:00      
   tell you how to write ...            01/01/70 00:00      
      Thank U...            01/01/70 00:00      
         short answer            01/01/70 00:00      
   My book            01/01/70 00:00      
      Let's make it more complete            01/01/70 00:00      
         this could/would confuse some newbie            01/01/70 00:00      
            can any one suggest me to find a solutio            01/01/70 00:00      
               as previously stated:            01/01/70 00:00      
               Initialize and do_forever            01/01/70 00:00      
         where does org100h and org30h branch to?            01/01/70 00:00      
            what do you mean?            01/01/70 00:00      
               hope iam clear now            01/01/70 00:00      
               what is the possible Address range ....            01/01/70 00:00      
                  bible time            01/01/70 00:00      
            ORG            01/01/70 00:00      
               should i add startup 51 for my code..            01/01/70 00:00      
                  manual?            01/01/70 00:00      
                     It indicates for C code            01/01/70 00:00      
                        does it say "use for assembler"?            01/01/70 00:00      
                           No. The example for adding startup.A51            01/01/70 00:00      
                              conclusion?            01/01/70 00:00      
                                 i got my codes executed successfully....            01/01/70 00:00      
                                    dwarfs ?            01/01/70 00:00      
                                        u people...            01/01/70 00:00      
                                          If that is what you ment, then why not s            01/01/70 00:00      
                  assembly codes with AT89C51            01/01/70 00:00      
                     no problem with hex            01/01/70 00:00      
                        up to you...            01/01/70 00:00      

Back to Subject List