Question: Problem #2 (25 points) MSP430 Addressing Modes, Instruction Encoding Consider the following instructions given in the table below. For each instruction determine its length (in

 Problem #2 (25 points) MSP430 Addressing Modes, Instruction Encoding Consider the

Problem #2 (25 points) MSP430 Addressing Modes, Instruction Encoding Consider the following instructions given in the table below. For each instruction determine its length (in words), the instruction words (in hexadecimal), source operand addressing mode, and the content of register R8 after execution of each instruction. Fill in the empty cells in the table. The initial content of memory is given below. Initial value of registers RS, R6, and R8 is as follows: R5=0xF002, R6=0xFOOA, R8=0xFF88. Assume the starting conditions are the same for each question lieu always start from initial conditions in memory) and given register values. The format of the first word of double-operand instructions is shown below. (Note: Op-code for MOV is 0100b). 15 14 13 12 11 10 8 Op code 3. Reg D. Res Adw As Instruction R8=? (HEX] Instruction Word(s) [HEX) Source Operand Addressing Mode Instr. Length [words] 1 1 (0) Ox4508 Ox4548 Register Register OxF002 Ox0002 (a) (b) Instr. Address (PC) Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 Ox1116 (d) (e) (0) MOV RS, R8 MOV.B RS, R8 MOV 4(R5), R8 MOV.B 3(RS), R8 MOV.B -3(R6), R8 MOV TONI, R8 MOV.B EDE, R8 MOV & EDE, R8 MOV.B @R5, R8 MOV @R5+, R8 MOV #45, R8 MOV.B #45, R8 (h) (0) ) Label Address (hex] Memory(15:0) (hex] OxF000 Ox0504 OxF002 OxFFEE TONI OxF004 OxCC06 OxF006 Ox3304 OxF008 OxF014 OxFOOA Ox2244 EDE OxFOOC OxABBA OxFOOE OxEFDD

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!