Can this project be done in 5 hours?

© 2021 Robin Pottathuparambil Page 1 of 2

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Programming Assignment #3
CSCE 2610 – Assembly Language and Computer Organization

Spring 2021

100 Points
Due: 03/18/2021, 11:55 PM

Instructions: Compile and simulate the assembly program (.S file) using DS-5 simulator
and make sure it’s working. Comment your assembly code. Create an assignment folder
with folder name as euid_PA3 (example: xyz0202_PA3) and add all the source files (.S
file) and the readme file to the folder. Please create a zip archive of your assignment
folder and upload the zip file to Canvas. Not following the above instructions could
result in not accepting your work. Late submissions are not allowed.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

1. Write an ARMv8 assembly program to generate the Tribonacci series and compute
the sum of the generated Tribonacci series. Assume the user input n is the number of
terms of the series which is a 64-bit non-zero positive integer stored in X20. Compute
the sum of the generated Tribonacci series and store the sum in X21. For example, a
Tribonacci series with 7 terms (0, 1, 1, 2, 4, 7, 13) has a sum of 28. The first three
terms (0, 1, and 1) are considered as default terms. Do not use recursion. Assemble,
test, and simulate the assembly code using DS-5 simulator. Do not upload the entire
DS-5 project. Only upload the assembly file (.S file) from the DS-5 project to Canvas.
Comment your assembly code. (30 Points)

2. Write an ARMv8 assembly program to compute the sum of squares of first n even
natural numbers and store the sum. Write an ARMv8 assembly function to compute
𝑥𝑥𝑦𝑦 and use the function to compute the sum of squares of first n even natural numbers.
The input n is in X20 and is 64-bit, non-zero positive integer less than 1001. Store the
sum in X21. Assume all the registers are used by the caller function to store some
data before calling the function. Do not use the divide instruction. Assemble, test, and
simulate the assembly code using DS-5 simulator. Do not upload the entire DS-5
project. Only upload the assembly file (.S file) from the DS-5 project to Canvas.
Comment your assembly code. (35 Points)

3. Write an ARMv8 assembly function to compute the sum of first n odd natural numbers
using recursion. The input n is in X1 and is 64-bit, non-zero positive integer less than
1001. Store the sum in X0. Assemble, test, and simulate the assembly code using DS-
5 simulator. Do not upload the entire DS-5 project. Only upload the assembly file (.S
file) from the DS-5 project to Canvas. Comment your assembly code. (35 Points)

© 2021 Robin Pottathuparambil Page 2 of 2

An example assembly code (func_code.S) is posted on canvas that shows how to create
a function and call the function.

Deliverables:

1. Commented assembly code for question 1, 2, and 3
2. A readme file that describes how to compile, execute, and test the assembly code.

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.

Order your essay today and save 30% with the discount code ESSAYHELP