Patent ID: 6654871
Filing Date: 2003-11-25
Classification: G06F

Abstract:
A method for performing pop operations within a processing system, the method comprising the steps of:during a first clock cycle, decoding an instruction and determining whether there is a need to execute a pop operation and accordingly generating a control indicator calling for the pop operation; during a first phase of a second clock cycle, providing a selected stack pointer, the selected stack pointer pointing to a top of a stack, replacing a pointer to a memory location following the point of the stack with the selected stack pointer, generating an updated stack pointer pointing to a memory location preceding the memory location pointed by the selected stack pointer, sending the selected stack pointer to a memory module in which a stack is implemented, for allowing data to be read from the memory location pointed by the selected stack pointer; and during a second phase of the second clock cycle, replacing the selected stack pointer that was provided during the first phase of the second clock cycle with the updated stack pointer.