Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7134 → Rev 7676

/programs/system/gmon/gmon.asm
80,6 → 80,15
and ax, 0x0F0F
mov [CPU_fam], ah
mov [CPU_mod], al
mov eax, ecx
shr eax, 12
and eax, 0x0FFF0 ; Extended Family/Model bits
or [CPU_mod], al
mov al, [CPU_fam] ; will not work on AMD fam.20h -- fix it later!!
cmp al, 0x0F
jne @f
add [CPU_fam], ah
@@:
shr edx, 23
and dl, 1
mov [CPU_mmx], dl