本頁使用了標題或全文手工轉換

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[編輯]