Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

using assembly language to short the problem

using assembly language to short the problem

using assembly language to short the problem

Question Description

COMMENTS (worth 5% of your programming assignment grade): Your program should have at least ten (10) different detailed comments explaining the different parts of your program. Each individual comment should be, at a minimum, a short sentence explaining a particular part of your code. You should make each comment as detailed as necessary to fully explain your code. You should also number each of your comments (i.e., comment 1, comment 2, etc.). NOTE: My comments do NOT count towards the ten comments!

page1image51419712 page1image51435712

SAMPLE RUNS (worth 5% of your programming assignment grade): You should submit screenshots of at least five (5) different sample runs of your program. Each sample run needs to use different inputs for the NUM constant, and your sample runs should NOT be the same as the sample runs that are used in this write-up for the assignment.

You should also number each of your sample runs (i.e., sample run 1, sample run 2, etc.). All of your sample runs should follow this format – for each individual sample run, screenshot (1) the value used in the NUM constant and (2) the values in the quadArray array at the end of the program. For example:

(1) Value in the NUM constant

page2image66070272 page2image49619040page2image66062992 page2image66070688 page2image66070896 page2image66071936 page2image66072144 page2image66072352 page2image66072560 page2image66072768

(2) Values in the quadArray array

Change the value in NUM

for each sample run

page2image66072976 page2image66073184

For your programming assignment this week you will be writing an x86 assembly program that will calculate a modified version of the Fibonacci sequence, called “Quadonacci”. The idea with Quadonacci is that you have four base cases:

Quad(1) = 1 Quad(2)= 1 Quad(3) = 1

Quad(4) = 1
And for all N >=5,
Quad(N) = Quad(N-1) + Quad(N-2) + Quad(N-3) + Quad(N-4) For example:
Quad(5) = Quad(4) + Quad(3) + Quad(2) + Quad(1)
Quad(5) = 1+1+1+1 = 4
And
Quad(6) = Quad(5) + Quad(4) + Quad(3) + Quad(2)
Quad(6) = 4 + 1 + 1+ 1 = 7
And
Quad(7) = Quad(6) + Quad(5) + Quad(4) + Quad(3)
Quad(7) = 7 + 4 + 1 + 1 = 13 etc.

Here is a table showing the first twelve Quadonacci values:
Q(1) Q(2) Q(3) Q(4) Q(5) Q(6) Q(7) Q(8) Q(9) Q(10) Q(11) Q(12)

page3image51620352 page3image51620544 page3image51619776 page3image51619584 page3image51619968 page3image51610752 page3image51620736 page3image51620928 page3image51621120 page3image51621312 page3image51621504 page3image51621696 page3image51621888 page3image51622080 page3image51622272 page3image51622464 page3image51622656 page3image51622848page3image51623040 page3image51623232 page3image51623424 page3image51623616 page3image51623808 page3image51624000

111147

13 25 49 94 181 349

page3image51624192 page3image51624384 page3image51624576 page3image51624768 page3image51624960 page3image51625152 page3image51625344 page3image51625536 page3image51625728 page3image51403328 page3image51410816 page3image51404096

You are given the following declarations:

The program should store each individual quad(i) number in the quadArray array in memory. Each individual quad(i) number is stored as a DWORD. Each DWORD in the quadArray is initialized to 0.

Furthermore, the indirect operand approach should always be used to access the quadArray array. You are given the following instruction in the code segment as a starting point:

page4image66234736 page4image66229952

SAMPLE RUNS:

page4image51618432

NUM = 4 (1, 1, 1, 1)

NUM = 6 (1, 1, 1, 1, 4, 7)

NUM = 8 (1, 1, 1, 1, 4, 7, 13, 25)

page4image66235568 page4image66227248

page5image66231200

NUM = 10 (1, 1, 1, 1, 4, 7, 13, 25, 49, 94)

NUM = 12 (1, 1, 1, 1, 4, 7, 13, 25, 49, 94, 181, 349)

page5image66227456page5image66227040

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20