How to access 32 bit float in keil

Status
Not open for further replies.

Rohi231

Member level 2
Joined
Mar 21, 2012
Messages
53
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,673
Hello Everyone,

I am working with the P89V51Rd2. For this i need to work with 32 bit float. Please send the command for this.
 

There's no particular command. Float data type is supported by Keil compiler without specific prerequisites,
 

Hi FvM. Whether Micro controller P89V51RD2 supports 32 bit float.

- - - Updated - - -

Hi FvM. Whether Micro controller P89V51RD2 supports 32 bit float.
 

In low level there is no float or int. All data are stored in consecutive bytes. Are you asking if yout uC performs 32 bit floating operations? Then it will not as it is a 8-bit uC.
 
Reactions: FvM

    FvM

    Points: 2
    Helpful Answer Positive Rating
Are you asking if yout uC performs 32 bit floating operations? Then it will not as it is a 8-bit uC.
Yes. The float operations are performed by the Keil float library, using standard 8-bit 8051 instructions. The float library can run on any 8051 processor, provided it has sufficient code and data memory.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…