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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/29/04 15:23
Read: times


 
#73377 - RE: Code generation using Keil A51 assembler
Responding to: ???'s previous message
It appears that you are disassembling the output file from the linker. The linker does not output a BINARY file. It outputs an ABSOLUTE OMF51 OBJECT MODULE or AOMF file. The AOMF file is NOT a binary file. That's why you get so much junk when you disassemble it.

If you want the actual binary file you need to:

1. Compile/Assemble and link your program.
2. Use OH51 to convert the linker output into an Intel HEX file.
3. Use a utility like HEX2BIN to convert the HEX file into a BINary file.

After these steps, you can disassemble the BIN file and you'll see your exact program.

Jon Ward
Keil Software

List of 15 messages in thread
TopicAuthorDate
Code generation using Keil A51 assembler            01/01/70 00:00      
   RE: Code generation using Keil A51 assembler            01/01/70 00:00      
      RE: Code generation using Keil A51 assembler            01/01/70 00:00      
         RE: Code generation using Keil A51 assembler            01/01/70 00:00      
            RE: Code generation using Keil A51 assembler            01/01/70 00:00      
               RE: Code generation using Keil A51 assembler            01/01/70 00:00      
                  RE: Code generation using Keil A51 assembler            01/01/70 00:00      
                     Debug Info?            01/01/70 00:00      
                        RE: Debug Info?            01/01/70 00:00      
               RE: Code generation using Keil A51 assembler            01/01/70 00:00      
                  RE: Code generation using Keil A51 assembler            01/01/70 00:00      
   RE: Code generation using Keil A51 assembler            01/01/70 00:00      
   can i connect aPOT with the ports dirct            01/01/70 00:00      
      RE: can i connect aPOT with the ports dirct            01/01/70 00:00      
   RE: Code generation using Keil A51 assembler            01/01/70 00:00      

Back to Subject List