1. Trang chủ
  2. » Giáo Dục - Đào Tạo

Bài tập Kỹ thuật vi xử lý - DTVT - BKDN (bài01)

2 57 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Bài tập Kỹ thuật vi xử lý - DTVT - BKDN

Microprocessors Semester 2011-2012 Homework Due Date: 14 February 2012 MSP430 ISA MSP430 Architecture Name Questions: Answers: Class Score / 10 (1 points) Disassemble the following 25 memory words: (Hint: There are 13 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: 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 (1 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 (1 points) When does addition generate an OVERFLOW condition as defined by 2’s complement addition? Microprocessors Homework Page 1/2 (1 points) What is the difference between PCrelative and register-indexed addressing modes? How are they the same? How they differ? (1 points) Since the MSP430 ISA uses only bit for selecting the destination address mode, how are four destination addressing modes defined? (1 points) The MSP430 ISA could define the following instruction as either a word or word instruction Explain mov.w #1,R4 (1 points) What does the MSP430 with the following operand? @R2+ (1 points) Why are output ports on the MSP430 readable? What advantage does this have? (1 points) Which MSP430 I/O ports have interrupt capability? 10 (1 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? Microprocessors Homework Page 2/2

Ngày đăng: 06/09/2021, 17:29

Xem thêm:

TỪ KHÓA LIÊN QUAN

w