Fitting each of these pieces into their proper fields gives us the full 32 bits:
If the bit pattern is written in hexadecimal it is 0x3F800000
.
To check that this is correct,
use SPIM.
Write a program that declares a floating point 1.0,
then run SPIM.
## Program to represent 1.0 .text .globl main main: .data val: .float 1.0 ## End of file
When you load this program in SPIM, where will the 1.0 be?