Table of contents

MOVETOCREG

Writes data to CBUS register. Register address is encoded as CONST.0E+#imm. src1 is used for address, src2 is actual written data.

Notice: You cannot do MOVETOCREG (somecreg , CONST_16+immval ), because there is only one ImmVal and ImmAlias in the uop. The src2 has to be a register.

Modifiers

On Core2 there is HI/LO modifier, LO modifier accesses crbus 0..1ff, HI modifier is for 200..3ff.

Typical usage

MOVETOCREG     (CR_SCP3       , EDI           )
R34 =          MOVETOCREG     (CR_CR4        , TMP6          , U2_08)
R35 =          MOVETOCREG     (CONST_0E_054  , R35           )

See also

MOVEFROMCREG


The author is not affiliated with, endorsed by, or sponsored by Intel Corporation or its affiliates. All trademarks, including but not limited to Intel, Pentium, and any other registered or unregistered marks mentioned herein, are the property of their respective owners. Their use in this context is solely for descriptive and informational purposes and constitutes nominative fair use under applicable trademark laws.
  • index page
  • uop description
  • ADC
  • ADD
  • AND
  • BSF
  • BSR
  • BSWAP
  • BTEST
  • DIV
  • FANDNOT
  • FCALCTW
  • FCMOV
  • FCOM
  • FMERGE
  • FMOV
  • FPEXTRACT
  • FPORDATATYPE
  • FPSIGNEXT
  • FREADROM
  • FXORS
  • IDIV
  • IMUL
  • INTEXTRACT
  • LEA
  • LOAD
  • MOVE
  • MOVEFROMCREG
  • MOVETOCREG
  • MUL
  • OR
  • PORTIN
  • PORTOUT
  • RCL
  • RCR
  • RDSEGFLD
  • ROL
  • ROR
  • SAL
  • SAR
  • SBC
  • SHL
  • SHR
  • SIGEVENT
  • STA
  • STRD
  • SUB
  • SUBR
  • TRANSPORTUIP
  • UOP
  • U_JCC
  • U_JMP
  • U_JMP_INDIR
  • WRSEGFLD
  • WUCONCAT
  • WUEXTRBK
  • WUINSERT
  • WUMERGE
  • XOR