Nun, das sieht so aus, in Wirklichkeit hat er da aber schon einiges getan und den kompletten SRAM auf Null gelöscht.
Was er aber bei printbin u. Wait das erstemal macht, ist ein call. und aus dem kommt er offenbar nicht zurück.
probieren wir mal was:
Code:
$regfile = "m128def.dat" 
$crystal = 16000000 
$baud = 9600 

dim a as byte
dim b as byte


Config Porta = Output 
Porta = &B00000000 

Do 
Porta.0 = 1 
 for a = 1 to 255 
 for b = 1 to 255 
 next 
 next 

Porta.0 = 0 

 for a = 1 to 255 
 for b = 1 to 255 
 next 
 next 

Loop 
End
is nur ein Versuch, er sollt da keine calls machen