1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Program in assembly language for 8051 microcontroller that can perform floating point calculation

Discussion in 'Homework Help' started by 2_Learn, Jun 7, 2016.

  1. 2_Learn

    2_Learn New Member

    Joined:
    Jun 7, 2016
    Messages:
    2
    Likes:
    0
    Hello, How I can make a program in assembly language for the 8051 microcontroller that can perform floating point calculations?.
    Excuse my English, I 'm Hispanic and I found this excellent forum and want to see if any of you could help me with this problem.
    I need a way to perform calculations with floating point numbers, for example for a data acquisition system .
    How can I do this? and if there is more than one way to do it?
    Beforehand I thank you for your help.
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,160
    Likes:
    909
    Location:
    Rochdale UK
    There are pre-written floating point libraries... I use the one supplied with ISIS... Its a BCD library for easy usage..

    BUT!!! I normally use fixed point arithmetic and just write a print function...
     

    Attached Files:

    • Like Like x 1
    • Informative Informative x 1
  3. 2_Learn

    2_Learn New Member

    Joined:
    Jun 7, 2016
    Messages:
    2
    Likes:
    0
    Thanks to you, I will try to do with this.
     

Share This Page