Rev 4107 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4107 | Rev 6483 | ||
---|---|---|---|
Line 248... | Line 248... | ||
248 | mov cl, al |
248 | mov cl, al |
249 | ret |
249 | ret |
250 | noIntelP4: |
250 | noIntelP4: |
251 | cmp byte[f], 6 |
251 | cmp byte[f], 6 |
252 | jne noIntelP6 |
252 | jne noIntelP6 |
- | 253 | ;edited code for test task-1 |
|
- | 254 | cmp byte[em],0x3A ;i3,i5,i7 |
|
- | 255 | je newCPU; |
|
- | 256 | cmp byte[em],0x2A ;celeron dekstop, mobile, Xeon E3 |
|
- | 257 | je newCPU; |
|
- | 258 | cmp byte[em],0x2D ;i7 |
|
- | 259 | je newCPU; |
|
- | 260 | cmp byte[em],0x25 ;celeron, pentium, core i3,i5,i7 |
|
- | 261 | je newCPU; |
|
- | 262 | cmp byte[em],0x2C ;Xeon 3000 |
|
- | 263 | je newCPU; |
|
- | 264 | cmp byte[em],0x1E ;Clarksfield core i7 |
|
- | 265 | je newCPU; |
|
- | 266 | cmp byte[em],0x1A ;Bloomfield-2008 |
|
- | 267 | je newCPU; |
|
- | 268 | cmp byte[em],0x2E ;NEhlem ~2008 |
|
- | 269 | je newCPU; |
|
- | 270 | ||
- | 271 | ||
253 | mov eax, 68 ; Pentium Pro / Pentium II / Pentium III |
272 | mov eax, 68 ; Pentium Pro / Pentium II / Pentium III |
254 | mov ebx, 3 |
273 | mov ebx, 3 |
255 | mov edx, 0x2A |
274 | mov edx, 0x2A |
256 | mcall |
275 | mcall |
257 | shr eax, 22 |
276 | shr eax, 22 |
Line 278... | Line 297... | ||
278 | @@: ret |
297 | @@: ret |
Line 279... | Line 298... | ||
279 | 298 | ||
280 | noIntel: |
299 | noIntel: |
281 | noIntelP6: |
300 | noIntelP6: |
- | 301 | noAMDK8: |
|
- | 302 | newCPU: |
|
282 | noAMDK8: |
303 | mov [nomultiplier], 1 |
283 | ret>2000>2100MHz)>2000MHz)> |
304 | ret>2000>2100MHz)>2000MHz)> |