How many memory operations are required to perform an add operation on a 3-address architecture if each operand specifies an indirect memory reference?
Since the operand is indirect memory reference, accessing each operand will require 2 memory operations .
One memory operation to get the address of memory location where the data is stored and second memory operation to get data from memory location. So total of 4 memory operations to get the 2 operand for ADD operation.
And one more memory operation is required to perform ADD operation.
So total # of memory operation required is 5.
If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks
Get Answers For Free
Most questions answered within 1 hours.