Successive Assembly Loop using Gcc and IAS

Asked

Viewed 60 times

0

I am studying Assembly however I am very difficult, I have to solve an exercise but I did not understand what to do. "Make a loop for successive subtractions up to negative." I’m using Gcc from Linux and IAS. Can someone help me

  • Which part did you not understand?

  • I have to indicate the memory positions and access it with the code. The two initial numbers will be provided, and the subtraction will be successive until one is negative. M(A) -M(B). did not understand how to do.

  • Take any number and subtract until it’s negative.

  • Yes I will provide 2 numbers and the program is looped as long as >= 0

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.