-1

I got this question today and i need some help from the community because i dont even know how to begin doing this and my professor isnt willing to help me. I beg to anyone if they can give me an example of adding 2 intenger vectors.

The teacher didnt even give us anything else to work on the only thing i know is that we are using x86.

  • 1
    I think one of your classmates asked this earlier: https://stackoverflow.com/questions/72187402/how-do-i-add-two-arrays-together-in-assembly-code – Nate Eldredge May 10 '22 at 15:28
  • 1
    In general, though, questions on this site need to show some progress. "How can I get started" questions don't work very well, and the wording of your question even makes it look like "write it for me". I agree it's frustrating if you don't know how to start, but that's not what this community is for. – Nate Eldredge May 10 '22 at 15:31
  • 1
    See https://meta.stackoverflow.com/questions/334822/how-do-i-ask-and-answer-homework-questions for a summary of the situation for homework questions here. – Nate Eldredge May 10 '22 at 15:33
  • 1
    In the meantime, there are several other things you are going to need to get your teacher to clarify: 32 or 64-bit code? What calling conventions? What SIMD instruction sets are allowed (SSE1/2/3/4, AVX/AVX2/AVX-512, etc?) – Nate Eldredge May 10 '22 at 15:37
  • 1
    At least we now know the other 2 duplicates from the past hour are probably also asking about x86. ([How do I add two arrays together in assembly code?](https://stackoverflow.com/q/72187402) / [How to sum two integer vectors in asm](https://stackoverflow.com/q/72187160)). The latter of which has C++ that could actually compile to SIMD asm. – Peter Cordes May 10 '22 at 15:39

0 Answers0