Back
MASM : STACK : IPUSHNE
IPUSHNE:

Syntax:

Description:

IPUSHNE pushes the following boolean conditions on top of the stack:

Bank Selector High Condition Low Condition
BS3 = 1 (low) [Rs0].L != [Rs1].L [Rs0].L != [Rs1].L
BS3 = 2 (high) [Rs0].H != [Rs1].H [Rs0].H != [Rs1].H
BS3 = 3 (vector) [Rs0].H != [Rs1].H [Rs0].L != [Rs1].L

Note: [R].X denotes the data on bank X of register R.

Microcode Pattern:

Takes 5 cycles to execute.
    Example: IPUSHNE 0xFF 3 0xA 0xB

	  
STKC  FLW  IOC  AGU   ASEL BS5 P5 BS4 C4 P4  MPC  BS3 C3 P3 P2 P1 P0
--------------------------------------------------------------------
  -    -    -    -      -   0  00  0   0 00  IXOR  0   0 00 00 0B 0A
  -    -    -    -      -   0  00  0   0 00    -   0   0 00 00 00 00
  -    -    -    -      -   0  00  0   0 00    -   0   0 00 00 00 00
  -    -    -    -      -   0  00  0   0 00    -   3   0 FF 00 00 00
 PNE   -    -    -      -   0  00  0   0 00    -   0   0 00 00 00 00

	  
Exceptions :

No exceptions.

Example :

!! Initial conditions:
!! Content of register 0xA:  
!!    [0xA].H = 0xFFFFFFFFFFFFFFFF
!!    [0xA].L = 0xDDDDDDDDDDDDDDDD
!! Content of register 0xB:  
!!    [0xB].H = 0xFFFFFFFFFFFFFFFF
!!    [0xB].L = 0xEEEEEEEEEEEEEEEE

IPUSHNE 255 3 0xa 0xb !! Pushes: High = FALSE Low = TRUE
IPUSHNE 255 2 0xa 0xb !! Pushes: High = FALSE Low = FALSE
IPUSHNE 255 1 0xa 0xb !! Pushes: High = TRUE  Low = TRUE

APE Group Zeuthen. 2003
$Id: ipushne_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 $