Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

01 In a Von Neumann architecture, groups of bits have no intrinsic meanings by t

ID: 3737684 • Letter: 0

Question

01 In a Von Neumann architecture, groups of bits have no intrinsic meanings by themselves. What a bit pattern represents depends entirely on how it is used. The following table shows bit patterns expressed in hexadecimal notation. 0x24A60004 0xAFBF0000 a. b. a. What decimal number does the bit pattern represent if it is a two's-complement integer? An unsigned integer? b. If this bit pattern is placed into the Instruction Register, what MIPS instruction will be executed? c. What decimal number does the bit pattern represent if it is a floating-point number? Use the IEEE 754 standard. d. The following table shows decimal numbers. a. -1721.5 b. 998.8125 Write down the binary representation of the decimal number, assuming the IEEE 754 single precision format.

Explanation / Answer

Solution:

The first question is done as per Chegg guidelines, please repost others.

Q1)

a)

0x24A60004 in binary is

0010 0100 1010 0110 0000 0000 0000 0100

On'e compl[ement of this is

1101 1011 0101 1001 1111 1111 1111 0100

now add 1 to make it 2's complement

so, 1101 1011 0101 1001 1111 1111 1111 0101

in decimal -3680108533

in unsigned decimal 614858756

similarly

0xAFBF0000

in binary

10101111101111110000000000000000

in 2's complement

010100000100000010000000000000000

-2692808704 in decimal

IN UNSIGNED DECIMAL 2948530176

b)

for 0x24A60004 ?

The instruction is

ADDIU $a2 $a1 0x0004

for 0xAFBF0000

the insturction is

SW $ra 0x0000 $sp

c)

0x24A60004 in binary is

0| this is exponent=> 010 0100 1| 23 bits from here is Mantissa010 0110 0000 0000 0000 0100

in decimal

7.199105E-17

0xAFBF0000

in binary

10101111101111110000000000000000

-3.4742698E-10 in decimal

d)

-1721.5 is 11000100110101110011000000000000

-998.8125 is 11000100011110011011010000000000

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)