Question
Create a program that sum up the content of a list. Create the list using dup() operator. The list is of a size 16 -
Create 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 lists 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 in element position 6
Examine the content of the memory location 6 and report your result in decimal
Please write the code in Assembly Language. I'm confused on how to work on this problem, can someone help explain how to solve it?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started