Back
MASM : STACK : SREPUSH2
SREPUSH2:

Syntax:

  • SREPUSH2
Description:

SREPUSH2 pushes onto the stack the conditions already existing on the next-to-top level:

Stack before SREPUSH2:

High Bank Low Bank
A B Top
C D Next

Stack after SREPUSH2:

High Bank Low Bank
C D Top
A B Next 1
C D Next 2

Note: A, B, C, D denote TRUE or FALSE.

Microcode Pattern:

Takes 1 cycles to execute.
    Example: SREPUSH2

	  
	STKC
	----
	RPH2

	  
Exceptions :

No exceptions.

Example :

IPUSHEQ 255 3 0xa 0xb !! Pushes on both banks of the stack integer 
                      !! condition for equality

IPUSHEQ 255 3 0xc 0xd !! Pushes on both banks of the stack integer 
                      !! condition for equality

SREPUSH2              !! Performs the SREPUSH2 operation 
                      !! as described above

APE Group Zeuthen. 2003
$Id: srepush2_masm.php,v 1.2 2004/08/04 09:45:22 noe Exp $
$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $