Translating C++ to ARM Assembly using (MLA instruction)

  arm, c++

I am trying to translate this C++ code:

y = y+ x*32;
z = y+ x*x;

To ARM assembly assume (x is R1 register, y is R2, z in R3), and I should use only one assembly instruction for each case
So, I suggest to do it using (MLA) but I don’t know how, can you please help me!!

Source: Windows Questions C++

LEAVE A COMMENT