Tag: IAR
-
IEEE-754 32-bit Single Precision Floating Point Representation
In an ARM Cortex, M4F processor-based microcontroller such as STM32L476vg; the floating-point number is stored in accordance to the IEEE-754. In the above video, I have written a small code using IAR workbench. When I debugged the program using IAR. I have observed that the floating-point number is converted by the compiler into IEEE 754…
-
Subtraction using 2’s complement method
S.N0. Decimal Sign Magnitude One Complement Two Complement 0 0 0000 0000 0000 1 1 0001 0001 0001 2 2 0010 0010 0010 3 3 0011 0011 0011 4 4 0100 0100 0100 5 5 0101 0101 0101 6 6 0110 0110 0110 7 7 0111 0111 0111 8 -0 1000 1111 =(0000)’+1=1111 + 1…
-
IDE Supporting STM32L476-Discovery
An IDE combines a range of different tools which are essential for the development of software. Different IDE from different vendors is available. Here are the IDE that I have used. STM CUBE IDEwebsite: https://www.st.com/en/development-tools/stm32cubeide.htmlIt is distribuited freely by ST. You can use this and it has a good device support and newer devices are…