1. What lengths (in bits) can by used by encoded SPARC instructions? 2. Given an
ID: 3689211 • Letter: 1
Question
1. What lengths (in bits) can by used by encoded SPARC instructions?
2. Given an encoded instruction, how can you determine which format it’s in?
3. How many bits are in the call instructions immediate operand?
4. Can the call instruction change the PC to all valid instruction addresses? Why or why not?
5. Which encoded format has a 22-bit immediate operand?
6. Which encoded format has a 13-bit immediate operand?
7. What values of op2 match instructions we’ve covered in this course?
8. How many bits are used to encode the branch condition? Are all possible values used?
9. How does the encoding differ between branch instructions which are and are not annulled?
10. Express the branch target address in terms of the branch instruction’s immediate operand
(write an expression using ordinary binary operators, e.g. +, -, , whatever’s appropriate)
11. How much can a branch instruction change PC?
12. Which bits of an encoded instruction are used for the op3 field?
13. How many different Format 3 instructions can be encoded?
14. What are the fields of a Format 3 instruction?
15. How many invalid/unimplemented Format 3 instructions are there?
Explanation / Answer
Multiple Questions ; ANswering 1st.
1 . 32 bits
All SPARC instructions are encoded in a single 32-bit instruction word, there are no extension words
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.