Question: write in x86 PROGRAMMING LANGUAGE IS X86 Exercise2 (15p): Build and run the program using the de Examine the content of the memories a did

Exercise2 (15p): Build and run the program using the de Examine the content of the memories a did in exercise1 Write a program that sum up the content of a list. Create the list using dup() operator. The list is of a size 16-bits and it should conation the following values: 2,4,8,10,12,14. Sum up the list's values. You are only allowed to assigned the first element to a register and the rest of the elements' values must be accessed using the list name and the offset (ex. listname + offset). Store the result in the list-element position 6 Examine the content of the memory location 6 and report your result in decimal Exercise2 (15p): Build and run the program using the de Examine the content of the memories a did in exercise1 Write a program that sum up the content of a list. Create the list using dup() operator. The list is of a size 16-bits and it should conation the following values: 2,4,8,10,12,14. Sum up the list's values. You are only allowed to assigned the first element to a register and the rest of the elements' values must be accessed using the list name and the offset (ex. listname + offset). Store the result in the list-element position 6 Examine the content of the memory location 6 and report your result in decimal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
