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
 
  {NF1} CFCMOVB
  {ND0}      Ev,Gv
  {NF0}      CMOVNB
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,43h)
 
  {NF0} CFCMOVNB
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVNB
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVNB
  {ND0}      Ev,Gv
  {NF0}      CMOVZ
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,44h)
 
  {NF0} CFCMOVZ
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVZ
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVZ
  {ND0}      Ev,Gv
  {NF0}      CMOVNZ
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,45h)
 
  {NF0} CFCMOVNZ
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVNZ
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVNZ
  {ND0}      Ev,Gv
  {NF0}      CMOVBE
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,46h)
 
  {NF0} CFCMOVBE
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVBE
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVBE
  {ND0}      Ev,Gv
  {NF0}      CMOVNBE
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,47h)
 
  {NF0} CFCMOVNBE
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVNBE
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVNBE
  {ND0}      Ev,Gv
 
 
66h
 
 
 
F3h
 
 
F2h
 
      SETO#reg
{ZU0} Eb
      {ZU1} Mb/Rq

 (cf. 0Fh,90h)
      SETNO#reg
{ZU0} Eb
      {ZU1} Mb/Rq

 (cf. 0Fh,91h)
      SETB#reg
{ZU0} Eb
      {ZU1} Mb/Rq

 (cf. 0Fh,92h)
      SETNB#reg
{ZU0} Eb
      {ZU1} Mb/Rq

 (cf. 0Fh,93h)
      SETZ#reg
{ZU0} Eb
      {Z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,Ev,Gv
 
  {NF1} CFCMOVNS
  {ND0}      Ev,Gv
  {NF0}      CMOVP
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,4Ah)
 
  {NF0} CFCMOVP
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVP
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVP
  {ND0}      Ev,Gv
  {NF0}      CMOVNP
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,4Bh)
 
  {NF0} CFCMOVNP
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVNP
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVNP
  {ND0}      Ev,Gv
  {NF0}      CMOVL
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,4Ch)
 
  {NF0} CFCMOVL
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVL
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVL
  {ND0}      Ev,Gv
  {NF0}      CMOVNL
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,4Dh)
 
  {NF0} CFCMOVNL
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVNL
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVNL
  {ND0}      Ev,Gv
  {NF0}      CMOVLE
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,4Eh)
 
  {NF0} CFCMOVLE
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVLE
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVLE
  {ND0}      Ev,Gv
  {NF0}      CMOVNLE
  {ND1} Bv,Gv,Ev
 
        (cf. 0Fh,4Fh)
 
  {NF0} CFCMOVNLE
  {ND0}      Gv,Ev
 
  {NF1} CFCMOVNLE
  {ND1} Bv,Ev,Gv
 
  {NF1} CFCMOVNLE
  {ND0}      Ev,Gv
 
 
66h
 
 
 
F3h
 
 
F2h
 
      SETS#reg
{ZU0} Eb
      {ZU1} Mb/Rq

 (cf. 0Fh,98h)
      SETNS#reg
{Z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
F3h
 
ENQCMDS (ES:)
Gy,Mz (ENQ...,APX)
UWRMSR Gq,Rq
(W=0) (US...,APX)
AXOR
My,Gy (RAO...,APX)
 
(cf. F3h,0Fh,38h,FCh)
 
F2h
 
ENQCMD (ES:)
Gy,Mz (ENQ...,APX)
URDMSR Rq,Gq
(W=0) (US...,APX)
AOR
My,Gy (RAO...,APX)
 
(cf. F2h,0Fh,38h,FCh)



note: The opcodes marked with * are aliases to other opcodes.



main page

© 1996-2024 by Christian Ludloff. All rights reserved. Use at your own risk.