I recently upgraded from DK51 to PK51, one of the big reasons was the new 'disassembly output file' option. However, I can't for the life of me figure out how to get this to work when using ONLY assembler files. I have a project (and I re-made it from scratch) containing my assembly source files. I have checked the 'pack' option in 'C' (I note that this doesn't relate to assembly files). I have enabled the generation of the '.cod' file. But no '.cod' file is generated! It appears (I'm guessing) that only if the object file indicates that packing was done, is the '.cod' file made, but since there is no documentation, I don't know for sure. How can one generate a '.cod' file from a project that is using only Assembly, not C? Any help is appreciated. David Erbas-White
See this article, http://www.keil.com/support/docs/148.htm, which Jon Ward cited in the previous Thread http://www.keil.com/forum/docs/thread1657.asp
But that's exactly my point! I have followed the directions given in the article, and no '.cod' output is produced! I have enabled the packing, and I have enabled the creation of the '.cod' file, and there IS NOT OUTPUT of a '.cod' file! There is apparently some information that is given to the linker in order to create the file, but in an all assembly project, I can't figure out what it is! Again, the option for enabling the packing apparently relates to '.C' files, but I have enabled it anyway (even though I'm not using C). I have also enabled the option to produce the '.cod' file. But it is not generated! When a look at CSAMPLE file (which I can get to produce the .cod file), I don't see any additional parameters that are given to the LX51 linker, which makes me think that there is something in the .OBJ file which causes the .COD file to be generated. I have also tried getting the CSAMPLE program to produce .SRC files, and then assemble those, but the compiler bombs when I do this. Please, any further information on how the '.cod' file can be generated would be appreciated. The message referred to is just about the only documentation for this, and it isn't working! David Erbas-White
What device are you using? Jon
This project is targeted for a Dallas 80C323. Does this make a difference for the disassembly generation? In other words, must it be one of the 'extended' variants in order for the disassembly listing to be output? Again, thanks for comments. David Erbas-White
Hmmm. I just tried a project using the DS323 and it generated the .COD file just fine. Did you set a special folder for the listing files? If so, the .COD file will be stored there. Jon