main:
high c.1
if pinc.2 = 1 then irout c.0,1,0 endif
if pinc.3 = 1 then irout c.0,1,1 endif
if pinc.4 = 1 then irout c.0,1,2 endif
if pinc.5 = 1 then irout c.0,1,3 endif
low c.1
high c.2
if pinc.1 = 1 then irout c.0,1,4 endif
if pinc.3 = 1 then irout c.0,1,5 endif
if pinc.4 = 1 then irout c.0,1,6 endif
if pinc.5 = 1 then irout c.0,1,7 endif
low c.2
high c.4
if pinc.1 = 1 then irout c.0,1,8 endif
if pinc.2 = 1 then irout c.0,1,9 endif
if pinc.3 = 1 then irout c.0,1,12 endif
if pinc.5 = 1 then irout c.0,1,16 endif
low c.4
goto main