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

This project is an independent, unofficial work based on publicly available information and reverse-engineering research, and is not affiliated with, endorsed by, sponsored by, or associated with Intel Corporation or its affiliates. It is provided "as is", without warranty of any kind. The author assumes no responsibility or liability for any use, misuse, damage, data loss, hardware failure, or other consequences arising from its use. Intel, Pentium, Core and related trademarks are the property of their respective owners and are used solely for identification and informational purposes.
  • 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