Hello
This is not supported by the assembler, but you can get the decoder to provide you with this information.
- Open your project in CodeWarrior
- Open the target settings dialog
- Switch to "Assembler for HC08" Panel
- Check "Use Decoder to generate Disassembly listing"
- Switch to "Importer for HC08" Panel
- enter command -T in the Command Line Arguments edit box.
- Click OK to close the Target Settings dialog
- Click right on the .asm file name in the .mcp window and select "Disassemble"
A new window will be opened showing the disassembly listing with cycle count in front of each instruction.
Output will look like :
00000040 87 [2] PSHA
where [2] indicates there a 2 cycles for PSHA.
I hope this helps
Keep in mind this works for HC08, HCS08 and RS08 but not for Coldfire.
CrasyCat
Message Edited by CrasyCat on 2009-09-18 10:35 AM