COMP3350 Advanced Procedures Stack Parameters Locals and BCD Assignment Hi, I need this hw please to be done in Assembly Language and I need the answers to be written in the word file under each question with a copy of the output. Also,I need the .asm file please.I need to get the homework anytime on April 21.if you have any questions let me know.Thanks Comp 3350: Computer Organization & Assembly Language
HW # 9: Theme: Advanced Procedures, Stack Parameters, Locals and BCD
(All main questions carry equal weight. Credit awarded to only those answers for which work
has been shown.)
1. Write a procedure named ArraySeries that fills an array of ten (10) numbers with the Fibonacci
series. The procedure receives two arguments: the first is the offset of an array, and the second
is an integer that specifies the array length. The first argument is passed by value and the
second is passed by reference. In the main program, you should set the parameters of the array
and print the array values before and after call to the procedure.
Please embed your code into your homework solution along with a screen shot of the run of the
program.
2. Draft a program that adds two BCD numbers (10-digits each). The first BCD number is stored in
an array named myAuburnID, and the second in an array named myAurbunIdRev. The first
number is your actual Auburn ID (with a prefix single zero digit and the remaining digits as the 9digits of your Auburn ID); the second is the value of MyAuburnId written backwards. Your
program should do the following:
1)
2)
3)
4)
5)
Use shifts/rotates using myAuburnID to fill the array myAuburnIdRev
Display contents of the memory locations in question
Add myAuburnID and myAurbunIdRev using BCD arithmetic
Store the sum in a variable named Result, and
Display contents of memory post execution.
Please embed your code into your homework solution along with a screen shot post execution.
3. Consider an isosceles triangle A with base 12 and height 20. Consider another triangle B formed
using vertices which are the center of the sides of triangle A. Consider another triangle C whose
vertices are similarly formed from B. Repeat this process ad infinitum. Express the sum of the
areas of all such triangles using a series and its closed form sum. Compute the areas (a) by using
only the first two terms of the series and (b) by using the closed form of the series sum. Write a
program to find the sums and use shifts to compute. What is the difference in the two
computed sums?
Please embed your code into your homework solution along with a screen shot post execution.
Purchase answer to see full
attachment
Why Choose Us
Top quality papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional academic writers
We have hired a team of professional writers experienced in academic and business writing. Most of them are native speakers and PhD holders able to take care of any assignment you need help with.
Free revisions
If you feel that we missed something, send the order for a free revision. You will have 10 days to send the order for revision after you receive the final paper. You can either do it on your own after signing in to your personal account or by contacting our support.
On-time delivery
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & confidential
We use several checkers to make sure that all papers you receive are plagiarism-free. Our editors carefully go through all in-text citations. We also promise full confidentiality in all our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
You are welcome to choose your academic level and the type of your paper. Our academic experts will gladly help you with essays, case studies, research papers and other assignments.
Admissions
Admission help & business writing
You can be positive that we will be here 24/7 to help you get accepted to the Master’s program at the TOP-universities or help you get a well-paid position.
Reviews
Editing your paper
Our academic writers and editors will help you submit a well-structured and organized paper just on time. We will ensure that your final paper is of the highest quality and absolutely free of mistakes.
Reviews
Revising your paper
Our academic writers and editors will help you with unlimited number of revisions in case you need any customization of your academic papers