Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>f2xm1 2 to the x power - 1 exception flags: none</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
F2XM1             2 to the X Power - 1        Exception Flags: None

F2XM1
                         ST
       Logic:      ST . 2   - 1


     F2MX1 calculates 2 to the power X and subtracts 1 from the result. X is
     taken from ST and must be 0 . X . .5 on the 8087 and 80287, or -1.0 . X
     . 1.0 on the 80387.
                                                        X
     This instruction provides increased accuracy over 2  when X is near 0
     (for example, when you calculate hyperbolic trignometric functions).

  --------------------------------------------------------------------------
   Operands            Clocks         Bytes           Example
   F2XM1               310-630          3             F2XM1
  --------------------------------------------------------------------------

                                  X
        Note:          To obtain 2  , add 1 to the result of F2XM1.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson