Explanation : R1 ⇽ c, R2 ⇽ d, R2 ⇽ R1 + R2, R1 ⇽ e, R2 ⇽ R1-
R2
Now to calculate the rest of the expression we
must load a and b into the registers but we need
the content of R2 later. So we must use another
Register.
R1 ⇽ a, R3 ⇽ b, R1 ⇽ R1 – R3, R1 ⇽ R1 + R2