here is my problem:
register R5 is used to point the top of the stack.write sequence instruction to pop the top two items off the stack, add them and push the result onto the stack. also copy the fifth item from the top into register R3 and remove the top ten items from the stack.
here i only know two instrctions.how can i implement the above problem using these and more instructions?please help me.

MOVE item,-(SP)
MOVE (SP)+,item
Posted on 2010-07-12 17:04:07 by lamiajoyee