Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems Analysis And Synthesis Bridging Computer Science And Information Technology

Authors: Barry Dwyer

1st Edition

0128054492, 9780128054499

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago