109k views
4 votes
What fpu manipulations corresponds to the given infix notation? z = (a+b-c)/d*e?

User Jbarket
by
7.7k points

1 Answer

6 votes
The exact manipulations depend on the instruction set of the FPU. In general, you would ...
load a
add b (from here on, all operations are done on the previous result)
subtract c
divide by d
multiply by e
User Owenmelbz
by
7.5k points