Question: b) In the context of a stack based architecture, create a stack based program which computes the expression below: [5 Marks] 3 + ( 64)

b) In the context of a stack based architecture, create a stack based program which computes the expression below: [5 Marks] 3 + ( 64) Your answer should include an illustration which shows the state of the stack after each instruction and also shows the workings of the bitwise OR operation. Hint: Step 1: Convert the expression into postfix notation. Step 2: Convert the postfix notation into a series of instructions, using PUSH, OR, ADD instructions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
