I am using Silabs Simplicity Studio along with Keil C51 COMPILER V9.53.0.0 and LX51 V4.66.30.0.
I am trying to configure a project so that it will produce a .COD file, that is a full assembler listing (with all addresses fixed). I set the optimization to level 8 (Reuse common entry code) and then used the CODE directive in the Miscellaneous / additional flags. No .COD file is produced.
I read that Code Packing must be enabled - yet it is not clear to me if that is set simply by the above optimization level.
Can someone please suggest how I may set my project to produce a .COD file.
Thank you very much.
On the middle C51 tab, in the Code Optimization section, check Linker Code Packing AJMP / ACALL.
just curious, what does that have to do with "obtaining full assembly listing"
See the Note at the end of the Linker CODE Directive manual page:
http://www.keil.com/support/man/docs/lx51/lx51_code.htm