Find Jobs
Hire Freelancers

ARMv8 A64 assembly language small project

$30-250 USD

Cancelled
Posted over 6 years ago

$30-250 USD

Paid on delivery
Basic Assembly Language Programming Create an ARMv8 A64 assembly language program that finds the maximum of y = -3x3 − 24x2 + 13x + 31 in the range −8 ≤ x ≤ 5, by stepping through the range one by one in a loop and testing. Use only long integers for x, and do not factor the expression. Use the printf() function to display to the screen the values of x, y and the current maximum on each iteration of your loop. You are to create 2 versions of your program: 1. Write the program without macros (i.e. don't use m4), and use only the mul, add, and mov instructions to do your calculations. Use a pre-test loop, where the test is at the top of the loop. 2. Optimize the above program by putting the loop test at the bottom of the loop (make sure it is still a pre-test loop), and by making use of the madd instruction. Also, add macros to the above program to make it more readable (use m4). In particular, provide macros for heavily used registers. Running Your Program To verify that your assembly language program works, run both versions under gdb, capturing output from each session using the script UNIX command. For version 1, single step through the program (use ni) for at least one iteration of your loop, displaying the instruction being executed (use display/i $pc). Also print out the contents of particular registers (use p) at key points in your program to show that it is working as expected. For version 2, set a breakpoint just after the place where the final result is calculated, and then print out the maximum. Do not single step through this version. Other Requirements Make sure your code is properly formatted into columns, is readable and fully documented, and includes identifying information at the top of each file. You must comment each line of assembly code. Your code should also be well designed: make sure it is well organized, clear, and concise. Name your programs assign1a.s and [login to view URL], and your scripts [login to view URL] and script2.txt.
Project ID: 15306511

About the project

5 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $88 USD for this job
User Avatar
A proposal has not yet been provided
$50 USD in 1 day
4.9 (5 reviews)
3.2
3.2
User Avatar
Hello, how are you? I have read the details provided, but please contact me so that we can discuss more on the project. I don't outsource like most people do ensuring quality work on time Relevant Skills and Experience Assembly, C Programming, Coding, Java, x86/x64 Assembler Proposed Milestones $74 USD - .
$148 USD in 2 days
2.8 (11 reviews)
5.1
5.1
User Avatar
A proposal has not yet been provided
$55 USD in 2 days
0.0 (0 reviews)
1.2
1.2
User Avatar
Hi I am Aqib, i am an expert in C Programmer, Coding and Java Language. i have completed 200+ home based project in Java with 100% client satisfaction.I have working experience of more than 8 years. i have checked your project and i am sure that i can do it with perfection. I would be glade to work with you. Looking forward to hear from You Thanks and Regards Aqib
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Canada
0.0
0
Member since Oct 2, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.