Subversion Repositories Kolibri OS

Rev

Rev 5353 | Rev 5418 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5353 Rev 5415
Line 528... Line 528...
528
	v dd ? ;int
528
	v dd ? ;int
529
	w dd ? ;int
529
	w dd ? ;int
530
endl
530
endl
531
	mov eax,[u]
531
	mov eax,[u]
532
	inc eax
532
	inc eax
533
	mov dword [v],eax
-
 
534
	cmp dword [v],2
533
	cmp eax,2
535
	jle @f
534
	jle @f
536
		mov dword [v],0
535
		xor eax,eax
537
	@@:
536
	@@:
538
	mov eax,[v]
537
	mov [v],eax
539
	inc eax
538
	inc eax
540
	mov dword [w],eax
-
 
541
	cmp dword [w],2
539
	cmp eax,2
542
	jle @f
540
	jle @f
543
		mov dword [w],0
541
		xor eax,eax
544
	@@:
542
	@@:
-
 
543
	mov [w],eax
545
	fld dword [t]
544
	fld dword [t]
546
	fsin
545
	fsin
547
	fstp dword [s]
546
	fstp dword [s]
548
	fld dword [t]
547
	fld dword [t]
549
	fcos
548
	fcos