Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:multiasm:papc:chapter_6_10 [2025/10/31 18:27] – [FPU control instructions] ktokarz | en:multiasm:papc:chapter_6_10 [2026/02/18 11:29] (current) – [Basic arithmetic instructions] ktokarz |
|---|
| | **fdivp** | ST(1) / ST(0) | ST(1) | yes | | | **fdivp** | ST(1) / ST(0) | ST(1) | yes | |
| </table> | </table> |
| The addition and multiplication operations are commutative, while subtraction and division are not. That's why the reversed versions of subtraction and addition are implemented. The difference is the order of operations, while the destination remains the same as in non-reversed versions. | The addition and multiplication operations are commutative, while subtraction and division are not. That's why the reversed versions of subtraction and division are implemented. The difference is the order of operations, while the destination remains the same as in non-reversed versions. |
| |
| <table frevarithmetic> | <table frevarithmetic> |
| <table ftrans> | <table ftrans> |
| <caption>Transcendental arithmetic instructions</caption> | <caption>Transcendental arithmetic instructions</caption> |
| ^ Mnemonic ^ operation ^ note ^ | ^ Mnemonic ^ operation ^ note on operands ^ |
| | **f2xm1** | {{ :en:multiasm:cs:f2xm1.png?105 }} | | | | **f2xm1** | {{ :en:multiasm:cs:f2xm1.png?105 }} | | |
| | **fyl2x** | {{ :en:multiasm:cs:fyl2x.png?105 }} | y is ST(1); x is ST(0) | | | **fyl2x** | {{ :en:multiasm:cs:fyl2x.png?105 }} | y is ST(1); x is ST(0) | |