Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 06-22-2004, 11:36 PM   #1 (permalink)
Amaranthine
Registered User
 
Amaranthine's Avatar
 
Join Date: May 2004
Posts: 47
Amaranthine is on a distinguished road
x86 help

I was programming today when I realised I have no idea how to use floating point arithmatic with x86 assembly.
I opened up intel's documentation and found an onslought of instructions I had never seen or heard about, books of mine mentioned them but never went over it at all.

I'd really like to put these instructions to use, but I don't know how...
(do I need to run the FLDENV instruction to do anything?)
I would greatly appreciate it if someone could give me a short explanation of what the c0, c1, c2, and c3 flags are.
What the ST(i) register? is, and a quick example of how to do anything at all (such as FMUL or any fpu instruction)

Intel's documentation has only baffeled me, if I could even get a quick starter on how the hell you do anything with this stuff I think I could get the hang of it from there on my own.

Thanks yet again
Amaranthine is offline   Reply With Quote
Old 06-24-2004, 01:19 AM   #2 (permalink)
npa
Code Monkey
 
Join Date: Jul 2003
Location: canada
Posts: 82
npa is on a distinguished road
not to take you from this site,
but here: http://win32asmboard.cjb.net is a great
place to learn about assembly ... searching around
and you will find many discussions of FPU.
__________________
direct entry file specification.
npa is offline   Reply With Quote
Old 06-24-2004, 01:22 AM   #3 (permalink)
npa
Code Monkey
 
Join Date: Jul 2003
Location: canada
Posts: 82
npa is on a distinguished road
http://board.win32asmcommunity.net/p...x.php/HomePage nice online book developed by the community about asm, contains small info on fpu
__________________
direct entry file specification.
npa is offline   Reply With Quote
Old 02-20-2006, 11:25 AM   #4 (permalink)
Hamlin
Jedi Master
 
Hamlin's Avatar
 
Join Date: Feb 2006
Location: Denver, CO
Posts: 15
Hamlin is on a distinguished road
Amaranthine, if this is still a live issue, let me know please.
Hamlin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
intel 32-bit x86 manuals npa Lounge 0 08-26-2003 01:51 AM
The post-your-PC thread w00t Lounge 18 03-01-2003 02:22 PM


All times are GMT -8. The time now is 08:39 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting