I was instructed to write a program in assembly that will carry out the following arithmetic:
((A + B) / C) * ((D - A) + E)
I\'ve succeeded in doing this when n
On a twos complement machine, add and sub operations are actually the same for signed and unsigned quantities, so those parts of your program don't need to change. There are specific instructions for signed division and multiplication, so make sure the functions use those (or just use them directly).