How to represent floating points in assembly for PSoC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
0 Likes
1 Reply
MR_41
Employee
Employee
First like received

In PSoC, a floating point number is represented using IEEE 754 format using 4 bytes.  Bit 31 is the sign bit, Bits 23-30 are the exponential value, Bits 0 to 22 are the mantissa.  The below web page provides more details on the floating point representation.

   

 

   

http://steve.hollasch.net/cgindex/coding/ieeefloat.html

   

 

   

Best Regards,

   

Ganesh

0 Likes