Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COMPILE ASSEMBLY LANGUAGE PROGRAM Write an assembly language program to calculate and measure the time taken to execute different loops for the polynomial equation: y

COMPILE ASSEMBLY LANGUAGE PROGRAM
image text in transcribed

Write an assembly language program to calculate and measure the time taken to execute different loops for the polynomial equation: y = 5xA3 + 8xA2+ 15x+ 101 where a, b, c, d are coefficients delay and x is an integer input value. Implement a loop that iterates different loop times, each tme calculating the value of y for a different x value. Different loops will represent different load that will impose to the polynomial equation as benchmarking method. Measure the time taken to complete the different loop and output the result in Table 1 for comparison purpose. Assume that the input x values are consecutive integers starting from 1 to value of max defined looping N. Use appropriate timing instructions or techniques to accurately measure the executon time. (use Irvine library) Use defined and calculation benchmarking. the coef3 10.- + coef3x -e 4. CPU CPU elapse = PROC): Of Cal Mgs : i gilt. arg; EAX I OOO e Display the output: o Algorithm used, equation y and CPU elapse time CPU elapse tme = - loop

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

What is the difference between product and period costs?

Answered: 1 week ago

Question

Present main arguments for and against the computer metaphor.

Answered: 1 week ago