# 4 Questions in Microprocessor Architecture

*label*Programming

*timer*Asked: Jul 5th, 2018

*account_balance_wallet*$15

**Question description**

I need answers for 4 Questions in Microprocessor Architecture

Please check out the attached questions...

## Tutor Answer

Hi, the assignment is done :). Please ask me if you have questions ;)

4 Questions in Microprocessor Architecture

1. Convert the following decimal number into:-7.125

a) single-precision floating-point number

Answer and solutions:

When it comes to single precision, it consists of 32 bits,

1 BIT

SIGN

8 BITS

EXPONENT

23 BITS

MANTISSA

Knowing that;

The Sign bit = 1 ( _ve value)

Exponent field = 10000001

Mantissa field = 1.1100100000000000000000

This is because 7 binary = 0111

Remaining value = 0.125 x 2 -> 0.25 -> 0

=0.25 x 2 -> 0.5 -> 0

=0.5 x 2 -> 1

= 0111.001

So, moving the decimal value to the left side and it takes 3 decimal place to move,

→ 0.111001 x 23

23 (mantissa)...

*flag*Report DMCA

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors