$regfile "m8def.dat"
$crystal = 1000000

Config Portd = Output

Do
Portd.1 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.1 = 0
Waitms 100
Portd.1 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.1 = 0
Waitms 100
Portd.1 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.1 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1 : Portd.2 = 1 : Portd.3 = 1 : Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0 : Portd.2 = 0 : Portd.3 = 0 : Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.4 = 0 : Portd.5 = 0
Waitms 100
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.4 = 0 : Portd.5 = 0
Waitms 100
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.5 = 1
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.1 = 0
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.5 = 1 : Portd.4 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.5 = 0 : Portd.4 = 0
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.5 = 1 : Portd.4 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.5 = 0 : Portd.4 = 0
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.4 = 1 : Portd.5 = 1
Waitms 100
Portd.5 = 1 : Portd.4 = 1
Waitms 100
Portd.2 = 1 : Portd.3 = 1
Waitms 100
Portd.1 = 1
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.4 = 0 : Portd.5 = 0
Waitms 100
Portd.5 = 0 : Portd.4 = 0
Waitms 100
Portd.2 = 0 : Portd.3 = 0
Waitms 100
Portd.1 = 1
Waitms 100
Portd.5 = 1
Waitms 100
Portd.2 = 1
Waitms 100
Portd.1 = 1
Waitms 100
Portd.3 = 1
Waitms 100
Portd.4 = 1
Waitms 100
Portd.5 = 0
Waitms 100
Portd.2 = 0
Waitms 100
Portd.1 = 0
Waitms 100
Portd.3 = 0
Waitms 100
Portd.4 = 0
Waitms 100
Portd.5 = 1
Waitms 100
Portd.2 = 1
Waitms 100
Portd.1 = 1
Waitms 100
Portd.3 = 1
Waitms 100
Portd.4 = 1
Waitms 100
Portd.5 = 0
Waitms 100
Portd.2 = 0
Waitms 100
Portd.1 = 0
Waitms 100
Portd.3 = 0
Waitms 100
Portd.4 = 0
Waitms 100
Loop