Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 6941 → Rev 6942

/kernel/trunk/core/apic.inc
460,6 → 460,11
jne @B
popfd
 
;96-bit arithmetic
;ebx - low dword
;esi - medium dword
;edx - high dword
 
mul [hpet_period]
mov ebx, eax
mov esi, edx
466,11 → 471,13
 
mov eax, ecx
mul [hpet_period]
add eax, esi
mov edx, eax
add esi, eax
adc edx, 0
mov eax, ebx
shrd eax, edx, 10
shr edx, 10
mov ebx, esi
shrd eax, ebx, 10
shrd esi, edx, 10
mov edx, esi
 
pop esi
pop ebx