Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can anyone help me write a assembly code about convolution, i really need the code for reviewing, thanks For this problem, you will implement a

can anyone help me write a assembly code about convolution, i really need the code for reviewing, thanksimage text in transcribed

For this problem, you will implement a function conv) that computes the reversed dot product of two arrays. In other words, given a pair of arrays x[n], h[n], it will return n-1 x [m] h [n - m- 1] The Specification . The registers %rdi and %rsi will contain the base pointer of the two arrays, and %eax will contain the length of the arrays. Both arrays contain char values, i.e., one byte per value, each in the range [-128, 127) Your code wil need to use the imul instruction. Note, however, there is no imulb instruction. Zrdi. %r8, %r9, %r10 and %r11 The register %al will carry the return value, the summation as described above As per the function call protocol, you may only use the scratch registers %rax, %rcx, %rax, %rsi, For this problem, you will implement a function conv) that computes the reversed dot product of two arrays. In other words, given a pair of arrays x[n], h[n], it will return n-1 x [m] h [n - m- 1] The Specification . The registers %rdi and %rsi will contain the base pointer of the two arrays, and %eax will contain the length of the arrays. Both arrays contain char values, i.e., one byte per value, each in the range [-128, 127) Your code wil need to use the imul instruction. Note, however, there is no imulb instruction. Zrdi. %r8, %r9, %r10 and %r11 The register %al will carry the return value, the summation as described above As per the function call protocol, you may only use the scratch registers %rax, %rcx, %rax, %rsi

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_2

Step: 3

blur-text-image_3

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

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

=+ What is Pats minimax choice?

Answered: 1 week ago

Question

does using corss - validation techniques help prevent overfitting

Answered: 1 week ago