DATA; loop: cmp port0,port1 jl up jg down je there up: mov port0,1 jmp loop down: mov port0,-1 jmp loop: there: mov port0,0 jmp loop: