flat assembler
Message board for the users of flat assembler.
Index
> Main > ctg x |
Author |
|
GrEEzLy 14 Dec 2010, 17:38
I have a function code, but I need it as something to do with I / O block, transfer the number from a string.
format PE GUI 4.0 section '.text' code readable executable FLD [x1] fptan fxch fdiv section '.data' data readable writeable x1 dt 45.0 Quote: |
|||
14 Dec 2010, 17:38 |
|
baldr 14 Dec 2010, 18:25
GrEEzLy,
Do you need cotangent of angle of 45 radians? Anyway, fdiv needs some arguments, contrary to fdivp/fdivrp (latter even doesn't need fxch prior to it. Is there any trouble converting st(0) into readable representation? [code] … [/code] tags are useful. Hope you'll feel better soon. |
|||
14 Dec 2010, 18:25 |
|
Tyler 14 Dec 2010, 19:24
http://www.arl.wustl.edu/~lockwood/class/cs306/books/artofasm/Chapter_14/CH14-6.html -- Search this page for "cotangent". There's an example of how to compute it.
|
|||
14 Dec 2010, 19:24 |
|
GrEEzLy 14 Dec 2010, 19:24
thanks! don't worry, i'm from russia =) Russian man survives is always and everywhere
|
|||
14 Dec 2010, 19:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.