If ‘x’ is the value stored at the top of the stack, then the instruction F2XMI calculates the expression
A. 2x
B. 2x+1
C. 2x-1
D. log(2x)
Answer:A
If ‘x’ is the value stored at the top of the stack, then the instruction F2XMI calculates the expression
A. 2x B. 2x+1 C. 2x-1 D. log(2x)
Explanation: The instruction F2XMI calculates the expression, 2x-1, where the value ‘x’ is stored at the top of the stack. The result is stored back at the top of the stack.