SREPUSH1 pushes onto the stack the conditions already existing on the top of the stack:
Stack before SREPUSH1:
High Bank |
Low Bank |
|
 |
A |
B |
Top |
C |
D |
Next |
 |
Stack after SREPUSH1:
High Bank |
Low Bank |
|
 |
A |
B |
Top |
A |
B |
Next 1 |
C |
D |
Next 2 |
 |
Note: A, B, C, D denote TRUE or FALSE.
Takes 1 cycles to execute.
Example: SREPUSH1
STKC
----
RPH1
No exceptions.
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
SREPUSH1 !! Performs the SREPUSH1 operation
!! as described above