Bài tập Kỹ thuật vi xử lý - DTVT - BKDN
Homework #5 ISA (Ch 8), Von Neumann (CH 9), and Micro-Architecture (Ch 10) In order to automate the grading process, please follow the exact instruction when answer the questions and don’t use extra or unnecessary words (8 points) If the value in R4 is 0x0008, what will the value be in R5 after executing the following lines of binary code? What does the binary program do? 0100 0100 0000 0101 0101 0101 0000 0101 0101 0101 0000 0101 0101 0100 0000 0101 0101 0101 0000 0101 (4 points) The MSP430 ISA could define the following instruction as either a word or word instruction Explain mov.w #1,R4 (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? (2 points) What does the MSP430 with the following operand? @R2+ BYU, ECEn/CS 124 Homework #5 Page 1/2 (13 points) Disassemble the following 25 memory words: (Hint: There are 13 instructions.) Enter your answers as 13 assembly instructions Make up your own labels Use hexadecimal notation for constants and absolute locations 0x809c: 0x809e: 0x80a0: 0x80a2: 0x80a4: 0x80a6: 0x80a8: 0x80aa: 0x80ac: 0x80ae: 0x80b0: 0x80b2: 0x80b4: 0x80b6: 0x80b8: 0x80ba: 0x80bc: 0x80be: 0x80c0: 0x80c2: 0x80c4: 0x80c6: 0x80c8: 0x80ca: 0x80cc: BYU, ECEn/CS 124 8392 0200 2005 40B2 03E8 0200 E3E2 0021 9382 0202 240D D3D2 0021 E0F2 0010 001D 8392 0202 2005 C3D2 0021 C0B1 0010 0000 1300 Homework #5 Page 2/2