The computer organization that uses general registers to process instructions is used, give how a program X=(A-B)^ * (V+C) can be executed in this. Elaborate properly with diagrams to show how this will be handled by the system, how this system is organized.
X=(A-B)^ * (V+C)
PUSH A TOP A
PUSH B TOP B
SUB A-B TOP V+C
PUSH V TOP V
Push C TOP C
Add V+C TOP V+C
MUL TOP(A-B)*(V+C)
Comments
Leave a comment