SMSW eax: 0F01E0 eax= 8001003B
SMSW ax: 660F01E0 eax= 0000003B

AMD Thunderbird 900Mhz (and proud of it :D )

Windows 2000 Pro SP3
Posted on 2003-03-03 20:07:18 by x86asm
OK I ran the second version of your program,
mov eax,cr0=8001003B
smsw eax=8001003B

OF course my processor and OS was stated in a previous post (most likely the one exactly before this one)
Posted on 2003-03-03 20:10:13 by x86asm
So real mode is Level 3.
I get it now.



88C0 :000000-01-11-000000

Bit 9-10 :This is Level Bit, is it ?

Mov ax,ax <=>XX 89 C0
Mov eax,eax <=>66 89 C0
SVIN is it right ?
Posted on 2003-03-04 06:46:37 by realvampire
---------------------------
Error
---------------------------
SMSW eax: 0F01E0 eax = 8001003B
SMSW ax: 660F01E0 eax = 0000003B
---------------------------
OK
---------------------------

P3 600mhz
W2k sp3
Posted on 2003-03-04 07:05:58 by roticv

So real mode is Level 3.
I get it now.



88C0 :000000-01-11-000000

Bit 9-10 :This is Level Bit, is it ?

Mov ax,ax <=>XX 89 C0
Mov eax,eax <=>66 89 C0
SVIN is it right ?

I don't understand your question.
Mode and level are different things like nose and nostril.
In the rest of your question I was complitly lost.
Your wrote some hex (I assume) and next to it some binary?
But the binary doesn't fit hex next to it.
What is bit 9 and 10? Max bit number in byte is 7.
66 is prefix that changes default operand size.
In Algo section there are tuts about Opcode construction
including prefix issue. It's better to read them from the
begining starting from the first one.
Posted on 2003-03-04 10:36:42 by The Svin
Athlon Thunderbird 1.4 GHz (underclocked to 1050 MHz). Windows 2000 Pro SP3.

eax: 0F01E0 eax: 8001003B
ax: 660F01E0 eax: 0000003B

Pentium 1 (MMX) 166 MHz. Windows 95c (OSR 2.5).

eax: 0F01E0 eax: 8000001B
ax: 660F01E0 eax: 0000001B
Posted on 2003-03-04 10:50:50 by Masmer
Masmer,
It's very good that you gave data of an older processor.
I'm practically sure now that at least from Pentium MMX,
smsw reg32 stores whole cr0 into reg32.
Not only low 16 bits.
So Itel documentation is obviously wrong describing the instruction.
Thank you.
Posted on 2003-03-04 11:21:58 by The Svin

Masmer,
It's very good that you gave data of an older processor.
I'm practically sure now that at least from Pentium MMX,
smsw reg32 stores whole cr0 into reg32.
Not only low 16 bits.
So Itel documentation is obviously wrong describing the instruction.
Thank you.


Hm. i'll go home and run this on my P133 under NT 4.

oh yeah - the other test was under Win2K.
Posted on 2003-03-04 14:20:14 by jademtech
0f01e0, 8001003b
660f01e0,0000003b

PPlain 133MHz, Winnt4
Posted on 2003-03-04 16:58:48 by jademtech
SMSW eax: 0F01E0 eax = 80000019
SMSW ax: 660F01E0 eax = 00000019

I think im the second person to submit this code. Win98SE, on a AMD Duron 800.

NaN
Posted on 2003-03-04 20:11:57 by NaN
A unique set-up:

WinXP on Transmeta Crusoe 5600
SMSW eax: 0F01E0 eax = 8001003B

SMSW ax: 660F01E0 eax = 0000003B
Posted on 2003-03-04 21:23:32 by bitRAKE
How'd you get a Transmeta? Or maybe I should ask why you have one?
Posted on 2003-03-05 00:08:23 by drhowarddrfine

A unique set-up:

WinXP on Transmeta Crusoe 5600
SMSW eax: 0F01E0 eax = 8001003B

SMSW ax: 660F01E0 eax = 0000003B


What is CPUID in your machine?
Posted on 2003-03-13 05:59:55 by The Svin
I got it now. Mov ax,ax is 668BC0.
quote:
--------------------------------------------------------------------------------
Originally posted by bitRAKE
A unique set-up:

WinXP on Transmeta Crusoe 5600
code:--------------------------------------------------------------------------------SMSW eax: 0F01E0 eax = 8001003B
SMSW ax: 660F01E0 eax = 0000003B--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Posted on 2003-03-13 06:15:16 by realvampire

How'd you get a Transmeta? Or maybe I should ask why you have one?


I bet he has a Sony Picturebook :)
Posted on 2003-03-13 06:19:58 by bazik



What is CPUID in your machine?


Should be "GenuineTMx86""
Posted on 2003-03-13 07:06:55 by bazik

What is CPUID in your machine?
bazik is correct on both accounts.
Posted on 2003-03-13 08:15:22 by bitRAKE

How'd you get a Transmeta? Or maybe I should ask why you have one?
PDA's are too little, laptops are too big, Sony Picturebooks are just
right -- well, that is what Goldilocks told me to say. :)
Posted on 2003-03-13 08:19:39 by bitRAKE

bazik is correct on both accounts.


Heh :)

What type of Picturebook did you get?

I looked into the C1-MGP or the PCG-U1 :)
(I would prefer the C1-MGP because of the 15.5h battery time)

Too bad there are no "real" desktop PCs with Crusoes right now... those CPUs are such advanced over Intel and AMD (speaking of heat and power usage) :/
Posted on 2003-03-13 08:23:05 by bazik

Too bad there are no "real" desktop PCs with Crusoes right now... those CPUs are such advanced over Intel and AMD (speaking of heat and power usage) :/
You may get a VIA C3 then. ;)
Posted on 2003-03-13 08:44:51 by Maverick