2 Exercises CISC/RISC Architectures For each of these items, specify if the item
ID: 3790988 • Letter: 2
Question
2 Exercises CISC/RISC Architectures For each of these items, specify if the item is more characteristic of a traditional CISC architecture or a RISC architecture. Type CISC or RISC for your answer 1. Instructions commonly complete in a variable number of clock cycles. 2. Instruction sets in this architecture will typically have fewer instructions than instruction sets of the other architec- ture 3. Instruction sets in this architecture will typically have more operand addressing modes than instruction sets of the other architecture. Unsigned and Signed Integers A. Suppose we are designing a computer system and n 12 bits are allocated for unsigned integers. What is the range, in decimal, of unsigned integers that can be represented? For full credit, explain your answer. 5. In the same system, n 12 bits are allocated for signed two's complement integers. What is the range, in decimal, of signed integers that can be represented? For full credit, explain your answer. 6. Continuing, what would be the two's complement representation of the decimal integer -1? Write your answer in hex and for full credit, explain your answer. 7. Continuing, what would be the two's complement representation of the decimal integer -1234? Write your answer in hex and for full credit, explain your answer 8. Continuing, what would be the two's complement representation of the smallest or most negative signed integer. Write your answer in hex and for full credit, explain your answer. 9. Continuing, assume z and y are signed integers, z 0xDFA, and y 0x537. What would z y be, in hex? What is this number in decimal? For full credit, explain your answer.Explanation / Answer
1.CISC
2.RISC
3.CISC
4.for unsigned 12 bit form integer range is 212 =4096 i.e ) 0- 4095 range
5.for signed 12 bit form integer range is 211 =2048 i.e ) = -2048 to - 2047 range
6. Two's complement representaion of -1 in 12 bit form is 111111111111
-1 in binary form is 100000000001 (last bit 1 indicates sign)
one's complement = 1111111111110 (complement all digits except sign bit)
two's complement = 1111111111111 ( add bit one to one's complement)
7.
Two's complement representaion of -1 in 12 bit form is 101100101110 (same above process)
In Hexadecimal form : B2E
9.x=DF4 y=537
sum of x,y = DF4
537
1
---------------------------------------------------
180A
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.