EasyManua.ls Logo

AMD AMD5K86 - Page 90

AMD AMD5K86
416 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AMD~
18524BjO-Marl996
AMD5~6
Processor
Technical
Reference
Manual
3.3.5
RDMSR
and
WRMSR
mnemonic
RDMSR
WRMSR
Privilege:
Registers
Affected:
Flags
Affected:
Exceptions
Generated:
opcode
OF32
OF30
CPL=O
description
Read
model-specific
register
(MSR)
Write
model-specific
register
(MSR)
EAX,
ECX,
EDX
none
Real-GP(O}
for
unimplemented
MSR
address
Virtual-808G
mode-GP(O}
Protected
mode-GP(O}
if
CPL
not
= 0
Protected
mode-GP(O}
for
unimplemented
MSR
address
The
RDMSR
or
WRMSR
instructions
can
be
used
in
Real
or
Protected
mode
to
access
several
64-bit,
model-specific
registers
(MSRs).
These
registers
are
addressed
by
the
value
in
ECX,
as
follows:
OOh:
Machine-Check
Address
Register
(MCAR).
This
may
contain
the
physical
address
of
the
last
bus
cycle
for
which
the
BOsCHK
or
PCHK
signal
was
asserted.
For
details,
see
Section
3.1.1
on
page
3-4.
01h:
Machine-Check
Type
Register
(MCTR).
This
contains
the
cycle
definition
of
the
last
bus
cycle
for
which
the
BUSCHK
or
PCHK
signal
was
asserted.
For
details,
see
Section
3.1.1
on
page
3-4.
The
processor
clears
the
CHK
bit
(bit
0)
in
MCTR
when
the
register
is
read
with
the
RDMSR
instruction.
10h:
Time
Stamp
Counter
(TSC).
This
contains
a
time
value.
The
TSC
can
be
ini-
tialized
to
any
value
with
the
WRMSR
instruction,
and
it
can
be
read
with
either
the
RDMSR
or
RDTSC
instruction.
For
details,
see
Section
3.2.3
on
page
3-27.
82h:
Array
Access
Register
(AAR).
This
contains
an
array
pointer
and
test
data
for
testing
the
processor's
cache
and
TLB
arrays.
For
details
on
the
AAR,
see
Sec-
tion
7.4
on
page
7-7.
83h:
Hardware
Configuration
Register
(HWCR).
This
contains
configuration
bits
that
control
miscellaneous
debugging
functions.
For
details,
see
Section
7.1
on
page
7-3.
New
Instructions
J-J5

Table of Contents

Related product manuals