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 worste instruction words (in hexadecimal), source operand instruction. Fill in the empty cells in the table. The initial content of memory is given below. Initial value of reghieh R6, and R7 is as follows: R5-OxF002, R6 OxFOOA, R8-OxFF88. Assume the starting conditions are the samer n of each double-operand instructions is shown below. (Note: Op-code for MOV is 0100b). ter values, The format of the first word of Instr. Instruction Address Instr. Instruction Word(s) Source Operand RS Length HEX words Addressing HEXI 0x1116 MoV RS, R81 10x1 116. MOV.BR5. R8 Mode Register Register 0xF002 0x4508 0x4548 (ii) (a) 0x16 MOV 4(R5), R8 (b) Ox6 MOVB 3(R5), R8 (c) Ox16 MOV.B -3(R6), R8 (d) 0x116 MOV TONI, R8 (e) 0x1116 MOVB EDE, R8 (0 0x16 MOV &EDE, RS (g) Oxl6 MOVB @R5, RS (h) Ox1116 MoV RS+, RS (i) | 0x1116 |MOV #45, R8 G) Ox6 MOV.B #45, RS Label Address (hex] |Memory 15.01 thex 0xF000 0xF002 TONI | 0xF004 0xF006 0xF008 0xCC06 0x3304 0xFO14 0x2244 OxABBA EDE 0xFOOC 0xFOOE0xEFDD

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!