本页使用了标题或全文手工转换

X86汇编语言/浮点运算指令集

维基教科书,自由的教学读本
跳到导航 跳到搜索

主页 > 电脑科学与技术书架 > X86汇编语言 > 浮点运算指令集


数据搬移指令(Data transfer instructions[编辑]

基本算术指令(Basic arithmetic instructions[编辑]

  • FADD/FADDP:Add floating point
  • FIADD:Add integer to floating point
  • FSUB/FSUBP:Subtract floating point
  • FISUB:Subtract integer from floating point
  • FSUBR/FSUBRP:Reverse subtract floating point
  • FISUBR:Reverse subtract floating point from integer
  • FMUL/FMULP:Multiply floating point
  • FIMUL:Multiply integer by floating point
  • FDIV/FDIVP:Divide floating point
  • FIDIV:Divide floating point by integer
  • FDIVR/FDIVRP:Reverse divide
  • FIDIVR:Reverse divide integer by floating point
  • FABS:Absolute value
  • FCHS:Change sign Instruction Mnemonic Status Flag States Condition Description
  • FCMOVBE:CF=1 or ZF=1 Below or equal
  • FCMOVNBE:CF=0 or ZF=0 Not below nor equal
  • FCMOVU:PF=1 Unordered
  • FCMOVNU:PF=0 Not unordered
  • FSQRT:Square root
  • FPREM:Partial remainder
  • FPREM1:IEEE partial remainder
  • FRNDINT:Round to integral value
  • FXTRACT:Extract exponent and significan

比较指令(Comparison instructions[编辑]

Transcendental instructions[编辑]

比较指令(Comparison instructions[编辑]

常量加载指令(Load constant instructions[编辑]

  • FLDZ:Load +0.0
  • FLD1:Load +1.0
  • FLDPI:Load π
  • FLDL2T:Load log2 10
  • FLDL2E:Load log2e
  • FLDLG2:Load log102
  • FLDLN2:Load loge

x87 FPU control instruction[编辑]