Doch ich habs irgentwie immernoch nich so gecheckt wie ich das jetzt meinem
Bascom beibringe.
Wie wärs mit:
Code:
Partial Example
Enable Interrupts
Enable Int0 'enable the interrupt
On Int0 Label2 Nosave 'jump to label2 on INT0
Do'endless loop
nop
Loop
End
Label2:
Dim A AsByte
If A > 1 Then
Return 'generates a RET because it is inside a condition
EndIf
Return 'generates a RETI because it is the first RETURN
Return 'generates a RET because it is the second RETURN
Steht so übrigens 1:1 in der Bascom Hilfe !?
Lesezeichen