Hello
Which MCU (derivative) are you trying to simulate?
We may not have simulation for all peripherals.
CrasyCat
#include <hidef.h> /* common defines and macros */#include <MC9S12NE64.h> /* derivative information */#pragma LINK_INFO DERIVATIVE "1"volatile unsigned int count;void main(void) { /* put your own code here */ TSCR1=0X80;//enable timer TSCR2=0x85; //select prescler bus clock/32 TFLG2=0x80;// clear timer flag EnableInterrupts; for(;;) { } /* wait forever */}#pragma CODE_SEG NON_BANKEDinterrupt void _Timerovf(void) { TFLG2 = 0x80;// clear the interrupt flag count++; //increment counter } #pragma CODE_SEG DEFAULT