Excellent game
I remember this type of game from Lost Mind of Dr. Brain, and I loved it.
anyone who can't get past the spiral level look below.
main program:
[sub1] [turn left] [sub 1] [turn left]
[sub1] [turn left] [sub2] [sub2]
[sub2] [turn left] [sub2] [sub2]
[forward] [grab chip] [turn left] [sub1]
subroutine 1:
[sub2] [sub2] [sub2] [sub2]
[blank] [blank] [blank] [blank]
subroutine 2:
[forward] [grab chip] [forward] [grab chip]
[blank] [blank] [blank] [blank]
and that should get you through the spiral chips level.