Question: sample code is below:(thx for ur help:)) /* ========================= */ /* DATA section */ /* ========================= */ .data .align 4 /* --- variable a ---

 sample code is below:(thx for ur help:)) /* ========================= */ /*

DATA section */ /* ========================= */ .data .align 4 /* --- variable

sample code is below:(thx for ur help:))

/* ========================= */ /* DATA section */ /* ========================= */ .data .align 4 /* --- variable a --- */ .type a, %object .size a, 8 a: .word 1 .word 2 /* --- variable b --- */ .type b, %object .size b, 4 b: .word 3 c: .space 8, 0 /* ========================= */ /* TEXT section */ /* ========================= */ .section .text .global main .type main,%function .matrix: .word a .word b .word c main: ldr r0, .matrix ldr r1, [r0], #4 /* r1 := mem32[r0] */ /* r0 := r0 + 4 */ ldr r2, [r0] ldr r0, .matrix + 4 ldr r3, [r0] /* r3 := mem32[r0] */ ldr r4, .matrix + 8 mul r5, r3, r1 mul r6, r3, r2 str r5, [r4], #4 /* mem32[r4] := r5 */ /* r4 := r4 + 4 */ str r6, [r4] nop 

Wite an ARM assembly program to do ton. .A is a 2x3 matrix and B is a 3x2 matrix .C and D are 2x2 matrix . Figure 1 shows the layout of C Each element in A, B, C, and D is a word-sized integer Write a ARM assembly program to compute C The integer values of A, B, and D are assigned by yourself The overflow/underflow problem is not considered during the computation After computation, register rl will point to the address of C's first element Wite an ARM assembly program to do ton. .A is a 2x3 matrix and B is a 3x2 matrix .C and D are 2x2 matrix . Figure 1 shows the layout of C Each element in A, B, C, and D is a word-sized integer Write a ARM assembly program to compute C The integer values of A, B, and D are assigned by yourself The overflow/underflow problem is not considered during the computation After computation, register rl will point to the address of C's first element

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!