This pdf is also recommended by this link
http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&message.id=9361
About the cycle counts in the listing, the compiler and the decoder do support to provide the cycle count, the asssembler on its own does not.
When using assembler the decoder can be used by checking the "Use Decoder to generate Disassebly Listing".
Add the "-T" option to the Importer for HC08 tab (this configures the decoder to print the cycles).
With this setup, the Disassemble context menu generates a listing with annotated cycles.
00000000 6E0100 [4] MOV #0x01,temp_byte 4058: NOP ; Insert here your own code00000003 9D [1] NOP 4060: RTC ; return to caller00000004 8D [7] RTC
For counting cycles the simulator can also be used, open via Components->Open Trace the Trace viewer, configure the trace as "Instruction" and check "Enable Trace", run to the start of the eare to measure, use the Clear context menu to clear the trace content and on the command line use ResetCycles to start counting cycles at 0.
This creates a trace like the one below showing the cycles as well.
Frame | Cpu cycles | Address | Instruction | HX |ACC |CCR | SP |-------------------------------------------------------------------------------------------------------------- 0 1 2094 TSX 0150 02 68 0149 2 3 2095 STA 1,X 014A 02 68 0149 6 6 2097 LDA 0x2104 014A 02 68 0149 11 10 209A INCA 014A 00 6A 0149 13 11 209B STA ,X 014A 01 68 0149 16 13 209C LDHX 0x2106 014A 01 68 0149 22 18 209F BRA *+33 210A 01 68 0149 25 21 20C0 DBNZ 2,SP,*-31 210A 01 68 0149 32 29 20A1 PSHX 210A 01 68 0149 35 31 20A2 PSHH 210A 01 68 0148
Daniel