This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Homework #5 Page 1/2 4. (3 points) What is the difference between PC-relative and register-indexed addressing modes? How are they the same? How do they differ? 5. (3 points) Since the MSP430 ISA uses only 1 bit for selecting the destination address mode, how are four destination addressing modes defined? 6. (3 points) The MSP430 ISA could define the following instruction as either a 1 word or 2 word instruction. Explain. mov.w #1,R4 7. (3 points) What does the MSP430 do with the following operand? @R2+ 8. (3 points) Why are output ports on the MSP430 readable? What advantage does this have? 9. (2 points) Which MSP430 I/O ports have interrupt capability? 10. (3 points) Some computer ISA’s define special instructions for I/O. The MSP430 does not. How then does the MSP430 communicate with I/O devices? What advantage does this have? BYU, ECEn/CS 124, W2012 Homework #5 Page 2/2...
View Full Document
- Winter '09
- Binary numeral system, Machine code, Addressing mode, MSP430 ISA