Results 1 to 3 of 3

Thread: A Win32 Asm Problem --> Need help !

  1. #1

    A Win32 Asm Problem --> Need help !

    Hi guys,

    I have been trying to learn win32 asm programming from Iczelions site...and I am having a couple of problems with something I'm trying to write.

    Basically, I've made it to about the 9th tut which involves using child window controls (buttons and edit boxes and such). I am using an edit box to get a numerical string from the user which I am want to convert into a floating point number using the StrToFloat function. Then after some calculations are performed on the floating point number, the press of a button will output it again as a string in a message box. Here is my problem...

    The floating point number output by the StrToFloat function is an 8 byte QWORD and I can't figure out how to add / subtract / multiply / divide with this size of value. I have looked at an assembly reference book and can find no instructions for dealing with this size (it is an old book so possibly it doesn't contain all of the instructions). Any help will be appreciated.

    Thanks in advance...

    Regards :-)

  2. #2
    hi, you can use floating-point instructions like FADD, FMUL etc. All these instructions begin with a 'F'. Details of these instructions & the architecture of 80x87 can be found in the manuals of Intel processor or "the Art of Assembly Language".(try here: Finally the result can be converted into a string with wsprintf( ) & displayed in the text box.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    Thanks a lot :-)


Similar Threads

  1. Downloader.Win32.Small or Win32/PolyCrypt Reversing
    By evilcry in forum Blogs Forum
    Replies: 0
    Last Post: May 16th, 2008, 09:12
  2. Win32 PE File - GUI
    By whoda in forum The Newbie Forum
    Replies: 5
    Last Post: May 25th, 2003, 16:57
  3. where can d/l Win32 API Reference or help?
    By darkrain in forum Malware Analysis and Unpacking Forum
    Replies: 3
    Last Post: June 19th, 2001, 11:19
  4. Ho Kan I Use Int13h In Win32?
    By SmallBoy in forum Advanced Reversing and Programming
    Replies: 8
    Last Post: April 25th, 2001, 06:51
  5. Win32 Asm
    By OeDiFuZz in forum Advanced Reversing and Programming
    Replies: 3
    Last Post: January 10th, 2001, 14:20


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts