crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianInstructionLib/Arm/Instructions/Thumb/DataProcessing/Bases/Thumb_AddOrSubtract.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 * 
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 using System;
       
    18 using System.Collections.Generic;
       
    19 using System.Text;
       
    20 using SymbianStructuresLib.Arm.Registers;
       
    21 using SymbianStructuresLib.Arm.Instructions;
       
    22 using SymbianInstructionLib.Arm.Instructions.Common;
       
    23 
       
    24 namespace SymbianInstructionLib.Arm.Instructions.Thumb.DataProcessing
       
    25 {
       
    26     public abstract class Thumb_AddOrSubtract : ThumbInstruction
       
    27     {
       
    28         #region Enumerations
       
    29         #endregion
       
    30 
       
    31         #region Constructors
       
    32         protected Thumb_AddOrSubtract()
       
    33         {
       
    34             base.AIGroup = SymbianStructuresLib.Arm.Instructions.TArmInstructionGroup.EGroupDataProcessing;
       
    35         }
       
    36         #endregion
       
    37 
       
    38         #region From ArmBaseInstruction
       
    39         protected override bool DoQueryInvolvementAsDestination( TArmRegisterType aRegister )
       
    40         {
       
    41             TArmRegisterType reg = this.Rd;
       
    42             return ( aRegister == reg );
       
    43         }
       
    44         #endregion
       
    45 
       
    46         #region Framework API
       
    47         public abstract TArmRegisterType Rd
       
    48         {
       
    49             get;
       
    50         }
       
    51 
       
    52         public virtual TArmDataProcessingType OperationType
       
    53         {
       
    54             get { return TArmDataProcessingType.EUndefined; }
       
    55         }
       
    56 
       
    57         public virtual uint Immediate
       
    58         {
       
    59             get { return 0; }
       
    60         }
       
    61 
       
    62         public virtual bool SuppliesImmediate
       
    63         {
       
    64             get { return false; }
       
    65         }
       
    66         #endregion
       
    67 
       
    68         #region Internal methods
       
    69         #endregion
       
    70 
       
    71         #region Data members
       
    72         #endregion
       
    73     }
       
    74 }
       
    75