Back
MASM : STACK : IPUSHLE
IPUSHLE:

Syntax:

Description:

IPUSHLE 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 6 cycles to execute.
    Example: IPUSHLE 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  ISUB  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    -   0   0 00 00 00 00
  -    -    -    -      -   0  00  0   0 00    -   3   0 FF 00 00 00
 PLE   -    -    -      -   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 = 0xEEEEEEEEEEEEEEEE
!! Content of register 0xB:
!!    [0xB].H = 0xFFFFFFFFFFFFFFFF
!!    [0xB].L = 0xDDDDDDDDDDDDDDDD

IPUSHLE 255 3 0xA 0xB !! Pushes: High = TRUE  Low = FALSE
IPUSHLE 255 2 0xA 0xb !! Pushes: High = TRUE  Low = TRUE
IPUSHLE 255 1 0xA 0xB !! Pushes: High = FALSE Low = FALSE

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