go to previous page   go to home page   go to next page hear noise highlighting

Answer:


1.0

IEEE representation of one point zero

Fitting each of these pieces into their proper fields gives us the full 32 bits.

The bit pattern written in hexadecimal 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


QUESTION 18:

When you load this program in SPIM, where will the 1.0 be?


go to previous page   go to home page   go to next page