Question: 1 . We have a computer where a word is just 5 bits long. Now, you have to do the following arithmetic: a ) (
We have a computer where a word is just bits long. Now, you have to do the following arithmetic:
a
b
All decimal, and all in two's complement. Can you show the operations and what the result is Was there any error?
Now explain the concept of Tmin in two's complement. What would Tmin beHint: is it Tmax? what?
Lay out the magic word, OxDEADBEEF, in memory starting from location for a MIPS computer. How about for an x computer?
Hint: is MIPS littleendian or bigendian? What about x
Run the following code in C and your results. Hint: is in C doing an or a right shift? What is the difference?
A certain machine has bit instructions and bit addresses. Some instructions have one address and others have two. Both types of instructions exist in the machine.
a What is the maximum number of instructions with one address?
b What is the minimum total number of instructions, assuming the encoding space is completely utilized no more instructions can fit
Hint: think of MIPS with its bit instructions and bit operand addresses. The same logic applies here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
