DATA; alloc tick,0 CODE; loop: inc #tick fsin eax,#tick mul port0,eax mov eax,port0 fsin eax,#tick mul port0,eax mov eax,port1 jmp loop