Hi,
I'm using CW for MCU v10.6.4 + patch V10.6.5.
With this version I've created a project based on mc9s12zvml128.
In the project properties for the S12Z Disassembler you can select the Output options:
Show Cycle Count for Each Instruction.
On my side it seems to be working.
Extract of my file:
++++++++++++++++
Decoder V-5.0.35 Build 15175, Jun 25 2015
Options: -A -ArgFileSources/main_c.args -C -Env"GENPATH=E:/Temp_bis/Community/375733/MCU_10.6.5/test_s12Z/Project_Headers;E:\Freescale\CW MCU v10.6.4\eclipse\../MCU/S12lisa_Support/s12lisac/include;E:\Freescale\CW MCU v10.6.4\eclipse\../MCU/S12lisa_Support/s12lisac/src;E:\Freescale\CW MCU v10.6.4\eclipse\../MCU/S12lisa_Support/s12lisac/lib_small" -EnvOBJPATH=. -EnvTEXTPATH=. -OSources\main_c.lst -T -ViewHidden -WmsgFob%f%e:%l:%k:%d:%m\n
Decoding File: 'Sources\main_c.obj'
File format: ELF/DWARF
DISASSEMBLY OF: '.text' FROM 2048 TO 2064 SIZE 16 (0X10)
Opening source file 'E:\Temp_bis\Community\375733\MCU_10.6.5\test_s12Z\Sources\main.c'
8: void main(void) {
main:
00000000 CEEF [0.0] CLI
16: __RESET_WATCHDOG(); /* feeds the dog */
00000002 0C5506CF [3.0] MOV.B #85,1743
00000006 0CAA06CF [3.0] MOV.B #-86,1743
17: asm nop;
0000000A 01 [1.0] NOP
18: i++;
0000000B 9F0000 [4.0] INC.L i
15: for(;;) {
0000000E 2074 [1.5] BRA *-12 ;abs = 0x000002
++++++++++++++++
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------