1. what binary number does this hexadecimal number 0x7fff fffarepresent? what de
ID: 3609312 • Letter: 1
Question
1. what binary number does this hexadecimal number 0x7fff fffarepresent? what decimal number does it represent? 2. what hexadecimal number does this binary number represent:1100 1010 1111 1110 1111 1010 1100 1110two 3. what decimal number does this two's complement binarynumber represent: 0111 1111 1111 1111 1111 1111 11101111two 4. given the bit pattern: 1010 1101 0001 0000 0000 0000 0000 0010 what does it represent, assuming that it is a. a thow;s complement integer? b. an unsigned integer? c. a single precision floating- pointnumber? d. a MIPS instruction? 5. with x= 0101 1111 1011 1110 0100 0000 00000000two, y= 0011 1111 1111 1000 0000 0000 00000000two, and z = 1101 1111 1011 1110 0100 0000 00000000two representing single IEEE 754 floating-pointnumbers, perform: a. x+y b. (result of a) + z c. why is the resultcounterintuitive? 6. represent the negative of the hexadecimal number DBCA inhexadecimal as a 32 bit 2's complement number? 7. express the binary number 1011.010011 in 32 bit floatingpoint representation. 8. convert 4096ten into a 32 bit 2's complementnumber. 9. convert -2047ten into a 32 bit 2's complementnumber. 10. what decimal number does this two's complement binarynumber represent: 1111 1111 1111 1111 1111 1111 11101111two? 11. find the shortest sequence of MIPS instructions todetermine the absolute value of a 2's complement integer. there isa pseudo instruction abs $t1, $t2 but dont use that. 12. if A is a 32 bit address a sequence of MIPS instructionsas below can be used to load the word at A into a register. Lui $t0, A_upper Ori $t0, $t0,A_lower Lw $s0, 0($t0) consider the following alternative which is moreefficient: Lui $t0, A_upper_adjusted Ori $t0, $t0, A_lower($t0) describe how A_upper needs to be adjusted to allow thissimpler code to work. Hint: A_upper needs to be modified becauseA_lower will be sign extended. 13. find the shortest sequence of MIPS instructions todetermine if there is a carry out from the addition of tworegisters, i.e., does the addition of the most significant bitscaused a carry out. it can be done with two instructions. 14. add 3.63 x 104 to 6.87 x 103,assuming you have just 3 significant digits and also assuming that2 extra digits, the guard and round digits are carried internally.what would the answer be if you did not have the guard andround digits? 1. what binary number does this hexadecimal number 0x7fff fffarepresent? what decimal number does it represent? 2. what hexadecimal number does this binary number represent:1100 1010 1111 1110 1111 1010 1100 1110two 3. what decimal number does this two's complement binarynumber represent: 0111 1111 1111 1111 1111 1111 11101111two 4. given the bit pattern: 1010 1101 0001 0000 0000 0000 0000 0010 what does it represent, assuming that it is a. a thow;s complement integer? b. an unsigned integer? c. a single precision floating- pointnumber? d. a MIPS instruction? 5. with x= 0101 1111 1011 1110 0100 0000 00000000two, y= 0011 1111 1111 1000 0000 0000 00000000two, and z = 1101 1111 1011 1110 0100 0000 00000000two representing single IEEE 754 floating-pointnumbers, perform: a. x+y b. (result of a) + z c. why is the resultcounterintuitive? 6. represent the negative of the hexadecimal number DBCA inhexadecimal as a 32 bit 2's complement number? 7. express the binary number 1011.010011 in 32 bit floatingpoint representation. 8. convert 4096ten into a 32 bit 2's complementnumber. 9. convert -2047ten into a 32 bit 2's complementnumber. 10. what decimal number does this two's complement binarynumber represent: 1111 1111 1111 1111 1111 1111 11101111two? 11. find the shortest sequence of MIPS instructions todetermine the absolute value of a 2's complement integer. there isa pseudo instruction abs $t1, $t2 but dont use that. 12. if A is a 32 bit address a sequence of MIPS instructionsas below can be used to load the word at A into a register. Lui $t0, A_upper Ori $t0, $t0,A_lower Lw $s0, 0($t0) consider the following alternative which is moreefficient: Lui $t0, A_upper_adjusted Ori $t0, $t0, A_lower($t0) describe how A_upper needs to be adjusted to allow thissimpler code to work. Hint: A_upper needs to be modified becauseA_lower will be sign extended. 13. find the shortest sequence of MIPS instructions todetermine if there is a carry out from the addition of tworegisters, i.e., does the addition of the most significant bitscaused a carry out. it can be done with two instructions. 14. add 3.63 x 104 to 6.87 x 103,assuming you have just 3 significant digits and also assuming that2 extra digits, the guard and round digits are carried internally.what would the answer be if you did not have the guard andround digits? 4. given the bit pattern: 1010 1101 0001 0000 0000 0000 0000 0010 what does it represent, assuming that it is a. a thow;s complement integer? b. an unsigned integer? c. a single precision floating- pointnumber? d. a MIPS instruction? 5. with x= 0101 1111 1011 1110 0100 0000 00000000two, y= 0011 1111 1111 1000 0000 0000 00000000two, and z = 1101 1111 1011 1110 0100 0000 00000000two representing single IEEE 754 floating-pointnumbers, perform: a. x+y b. (result of a) + z c. why is the resultcounterintuitive? 6. represent the negative of the hexadecimal number DBCA inhexadecimal as a 32 bit 2's complement number? 7. express the binary number 1011.010011 in 32 bit floatingpoint representation. 8. convert 4096ten into a 32 bit 2's complementnumber. 9. convert -2047ten into a 32 bit 2's complementnumber. 10. what decimal number does this two's complement binarynumber represent: 1111 1111 1111 1111 1111 1111 11101111two? 11. find the shortest sequence of MIPS instructions todetermine the absolute value of a 2's complement integer. there isa pseudo instruction abs $t1, $t2 but dont use that. 12. if A is a 32 bit address a sequence of MIPS instructionsas below can be used to load the word at A into a register. Lui $t0, A_upper Ori $t0, $t0,A_lower Lw $s0, 0($t0) consider the following alternative which is moreefficient: Lui $t0, A_upper_adjusted Ori $t0, $t0, A_lower($t0) describe how A_upper needs to be adjusted to allow thissimpler code to work. Hint: A_upper needs to be modified becauseA_lower will be sign extended. 13. find the shortest sequence of MIPS instructions todetermine if there is a carry out from the addition of tworegisters, i.e., does the addition of the most significant bitscaused a carry out. it can be done with two instructions. 14. add 3.63 x 104 to 6.87 x 103,assuming you have just 3 significant digits and also assuming that2 extra digits, the guard and round digits are carried internally.what would the answer be if you did not have the guard andround digits? Ori $t0, $t0, A_lower($t0) describe how A_upper needs to be adjusted to allow thissimpler code to work. Hint: A_upper needs to be modified becauseA_lower will be sign extended. 13. find the shortest sequence of MIPS instructions todetermine if there is a carry out from the addition of tworegisters, i.e., does the addition of the most significant bitscaused a carry out. it can be done with two instructions. 14. add 3.63 x 104 to 6.87 x 103,assuming you have just 3 significant digits and also assuming that2 extra digits, the guard and round digits are carried internally.what would the answer be if you did not have the guard andround digits?Explanation / Answer
http://www.coursehero.com/file/3990/Computer-Organization-and-Design-3rd-ed-SOLUTIONS-MANUAL/
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.