Question: Problem #1 (25 points) Assembly Language Directives A. (15 points) Consider the assembly directives shown below. Show the content of relevant regions of the memory

 Problem #1 (25 points) Assembly Language Directives A. (15 points) Consider
the assembly directives shown below. Show the content of relevant regions of

Problem #1 (25 points) Assembly Language Directives A. (15 points) Consider the assembly directives shown below. Show the content of relevant regions of the memory initialized by these directives. The memory is organized in words. The MSP430 ISA is a little-endian architecture. Fill in the table below. Assume that the assembler places the data segment in RAM memory starting from the address Ox1100. How many bytes is allocated and initialized by these directives? 1b1: 1b2: lw1: llwi: 1f1: ls: .data .byte 2, 4, -3, 'C' .byte 11001110b, 346, 0x44 .align 2 word -8, 8, exCBAC .long 2 .float 2.0 .cstring "CBA" Label Address (hex) Memory(15:0) (hex) Ib1 Ox1100 Ox0402 26 bytes B. (10 points) Consider the following sequence of instructions. mov.b 1b1, R4 mov.b 1b1+2, R5 mov.W 1b2+2, R6 mov.W llwi, R7 mov.W 1f1, R8 mov.W ls, R9 mov.W #ls, R10 mov.W &1f1, R11 mov.b &1b1+1, R12 mov.W 1f1+2, R13 What is the content of register R4-R9 after execution of this code snippet? Content (HEX) Register R4 R5 R6 R7 R8 R9 R10 R11 R12 R13

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!