also jetzt weis ich gar nich mehr weiter!!

Zuerst ging es und dann kommen 5 zahlen, dann vier drei, zwei, eins null und dann gar nich mehr. ich weis nich was jetzt schon wieder los is.

Code:
$regfile "m8def.dat"
$crystal = 7000000
$sim
Config Timer1 = Timer , Prescale = 1
Config Int0 = Rising
Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7 , E = Portd.1 , Rs = Portd.0

Enable Interrupts
Enable Int0
On Int0 Sprung:
Config Lcd = 16 * 2

Config Portd.1 = Output
Config Portd.7 = Output
Config Portd.6 = Output
Config Portd.5 = Output
Config Portd.4 = Output
Dim Text As Word




Cls
Start Timer1
Do
Loop



Sprung:
Cls
Text = Timer1
Lcd Text

Timer1 = 0

Return