Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

a question about the float

Altera_Forum
Honored Contributor II
961 Views

hi i met a question about the format that the float stored in ram? 

when i write (float)31.0 to the ram the address is 0x104800;in the debug model 

i can see the memory (0x104800 00 

0x104801 00 

0x104802 f8 

0x104803 41) 

so i want to know the format of the float stored inthe memory, 

and how i can equal the float 31.0 to the (41 f8 00 00) 

best regars! 

btw how to find the information about the costume instruction? 

thanks! 

wbqyy
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
199 Views
0 Kudos
Reply