Categories: Homework on time

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

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

Don't use plagiarized sources. Get Your Custom Essay on
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
Just from $13/Page
Order Essay
superadmin

Share
Published by
superadmin

Recent Posts

Consider the following information, and answer the question below. China and England are internation

Consider the following information, and answer the question below. China and England are international trade…

4 years ago

The CPA is involved in many aspects of accounting and business. Let’s discuss some other tasks, othe

The CPA is involved in many aspects of accounting and business. Let's discuss some other…

4 years ago

For your initial post, share your earliest memory of a laser. Compare and contrast your first percep

For your initial post, share your earliest memory of a laser. Compare and contrast your…

4 years ago

2. The Ajax Co. just decided to save $1,500 a month for the next five years as a safety net for rece

2. The Ajax Co. just decided to save $1,500 a month for the next five…

4 years ago

How to make an insertion sort to sort an array of c strings using the following algorithm: * beg, *

How to make an insertion sort to sort an array of c strings using the…

4 years ago

Assume the following Keynesian income-expenditure two-sector model:

Assume the following Keynesian income-expenditure two-sector model:                                                AD = Cp + Ip                                                Cp = Co…

4 years ago