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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/05 10:02
Read: times


 
#87335 - More Clarification Needed!
Responding to: ???'s previous message
You still haven't said what tools you're using!

Lee Kien said:
When i was programming the hex into the AT89c52(8052), i notice that the programmer stops at 1FFFH and it says "Complete".

This could mean that the programmer has finished programming the entire Hex file, or it could mean that it is configured to stop at 1FFF - and it has, irrespective of the actual size of your code!

The listing you posted was garbled due to the loss of formatting - you need to use the 'pre' and '/pre' tags, as for code.
See http://www.8052.com/forum/read.phtml?id=82221
2FEB D2A8           5140             setb    EX0
2FED D28C           5141             setb    TR0
2FEF C290           5142             CLR     P1.0    
2FF1 32             5143             RETI
                    5144     
                    5145     Ends:
                    5146     
                    5147     END

Does this mean that my code is 2FF1H length long?

It just means that the last address in this particular listing is 2FF1H - nothing more, nothing less.
See what I said about gaps: http://www.8052.com/forum/read.phtml?id=86733

You might've used ORG directives or something elsewhere in your code to place other bits at other locations - possibly higher addresses.

Also, if this is just an assembler listing (rather than a Linker listing), it could be relocatable.

The Linker listing is the place you need to look for a definitive statement of what addresses (both code & data) are in use by your program.



List of 33 messages in thread
TopicAuthorDate
Finding out the ROM limit            01/01/70 00:00      
   Tools?            01/01/70 00:00      
      More on Intel Hex - gaps!            01/01/70 00:00      
      k vs K            01/01/70 00:00      
         Apples & Pears!            01/01/70 00:00      
   Thanks            01/01/70 00:00      
      Err..., no            01/01/70 00:00      
      Forgot to ask - LST file?            01/01/70 00:00      
         d51            01/01/70 00:00      
   Need clarification            01/01/70 00:00      
      More Clarification Needed!            01/01/70 00:00      
         Info            01/01/70 00:00      
            More Clarification Needed!            01/01/70 00:00      
               Yes            01/01/70 00:00      
                  Unlikely            01/01/70 00:00      
                     suspect            01/01/70 00:00      
                     Info            01/01/70 00:00      
                        Got there at last!            01/01/70 00:00      
                           Got it :D            01/01/70 00:00      
                              Too big!            01/01/70 00:00      
                                 Thanks            01/01/70 00:00      
                                    7 days            01/01/70 00:00      
                                       I suggest this            01/01/70 00:00      
            something amiss            01/01/70 00:00      
               the whole LST file            01/01/70 00:00      
               LST file            01/01/70 00:00      
                  and the story is            01/01/70 00:00      
                     well....            01/01/70 00:00      
                        7 days well spent!            01/01/70 00:00      
      of course it does            01/01/70 00:00      
         Noted            01/01/70 00:00      
            so            01/01/70 00:00      
   hexmap            01/01/70 00:00      

Back to Subject List