Back
MASM : LUT : LUTLOGM
LUTLOGM:

Syntax:

Description:

Returns in Rs3 the number which has the same mantissa as the number provided in register Rs1, while the exponent field is set to:

  • 0x3FF, if (1.mRs1 <= 1.5)
  • 0x3FE, if (1.mRs1 > 1.5)

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

Microcode Pattern:

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

	  
	MPC  BS3 C3 P3 P1
	-----------------
	LGM   0  0  00 A1
	 -    0  0  00 00
	 -    0  0  00 00
	 -    3  0  A3 00

	  
Exceptions :

Exceptional cases are handled as specified in table below (in all these cases, mantissa is set to zero):

Sign ERs1(hex) ERs3(hex) Exceptions
0 0x7FF 0x7FF BADOP
0 0 0x7FF OVF
1 x 0x7FF OVF

Example :

Not available for the moment.

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