Back
MASM : LUT : LUTCROSS
LUTCROSS:

Syntax:

Description:

Moves data from high bank of Rs0 to low bank of Rd3, from low bank of Rs1 to high bank of Rd3. In short:

R3(Low) = R0(High)

R3(High) = R1(Low)

Instruction is performed according to BS (bank select) and is stack conditioned.

Microcode Pattern:

Takes 4 cycles to execute.
    Example: LUTCROSS 0xA3 3 0xA0 0xA1

	  
	MPC BS3 C3 P3 P1 P0
	-------------------
	CRS  0  0  00 A1 A0
	 -   0  0  00 00 00
	 -   0  0  00 00 00
	 -   3  0  A3 00 00

	  
Exceptions :

NOT YET

Example :

LUTCROSS 0x22 3 0x21 0x20   !! Move data from high bank of 0x21 to
                            !! low bank of 0x22 and low bank of 0x20
                            !! to high bank of 0x22

APE Group Zeuthen. 2003
$Id: lutcross_masm.php,v 1.2 2004/08/04 09:43:30 noe Exp $
$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $