SASM : IROT

IROT:

Syntax:

  • IROT <R3>   <R0> <R1>

Description:

   Executes a rotate shift right or left of number of bits specified in the content of R1 on content of R0, and puts the result to R3. Right or left shifting is performed depending on positive or negative value, correspondingly, in R1. Instruction is performed according to [.BS] (bank select).Information on Bank Select is here. Instruction is stack conditioned.

Exceptions:

    Not yet.

Example:

IROT 0x20 3 0x22 0x21 ! Perform rotate shift of number 
                      ! of bits = content of 0x21 on 
                      ! content of 0x22 then puts the 
                      ! result to register 0x20
      


$Id: irot_sasm.html,v 1.1 2001/05/07 13:30:29 lukyanov Exp $