35,7 → 35,7 |
|
mov ebx, 0x100000 |
align 32 |
.nxt: mcall 19 ; ôóíêöèÿ ïóñòûøêà |
.nxt: ;mcall 19 ; ôóíêöèÿ ïóñòûøêà |
; ïîðòÿòñÿ ecx, edx |
dec ebx |
jnz .nxt |
43,11 → 43,8 |
xor eax, eax |
cpuid |
rdtsc |
cmp eax, [old_tsc] |
jnb @f |
dec edx |
@@: sub eax, [old_tsc] |
sub edx, [old_tsc + 4] |
sub eax, [old_tsc] |
sbb edx, [old_tsc + 4] |
debug_print_hex edx |
debug_print_hex eax |
.end: print ' <- Fast call (SYSENTER)' |
74,7 → 71,7 |
|
mov ebx, 0x100000 |
align 32 |
.nxt: mcall 19 ; ôóíêöèÿ ïóñòûøêà |
.nxt: ;mcall 19 ; ôóíêöèÿ ïóñòûøêà |
|
dec ebx |
jnz .nxt |
82,16 → 79,14 |
xor eax, eax |
cpuid |
rdtsc |
cmp eax, [old_tsc] |
jnb @f |
dec edx |
@@: sub eax, [old_tsc] |
sub edx, [old_tsc + 4] |
|
sub eax, [old_tsc] |
sbb edx, [old_tsc + 4] |
debug_print_hex edx |
debug_print_hex eax |
.end: print ' <- Fast call (SYSCALL)' |
;---------------------------------------------- |
; ÷åðåç øëþç ïðåðûâàíèÿ |
; ÷åðåç øëþç ïðåðûâàíè |
__CPU_type equ p5 |
xor eax, eax |
cpuid |
101,7 → 96,7 |
|
test3: mov ebx, 0x100000 |
align 32 |
.nxt: mcall 19 ; ôóíêöèÿ ïóñòûøêà |
.nxt: ;mcall 19 ; ôóíêöèÿ ïóñòûøêà |
dec ebx |
jnz .nxt |
|
108,11 → 103,9 |
xor eax, eax |
cpuid |
rdtsc |
cmp eax, [old_tsc] |
jnb @f |
dec edx |
@@: sub eax, [old_tsc] |
sub edx, [old_tsc + 4] |
|
sub eax, [old_tsc] |
sbb edx, [old_tsc + 4] |
debug_print_hex edx |
debug_print_hex eax |
print ' <- Interrupt' |