crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianInstructionLib/Arm/Instructions/Arm/Branching/Arm_BL.cs
equal
deleted
inserted
replaced
|
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 SymbianInstructionLib.Arm.Instructions.Common; |
|
22 |
|
23 namespace SymbianInstructionLib.Arm.Instructions.Arm.Branching |
|
24 { |
|
25 [ArmRefAttribute( "", "" )] |
|
26 public class Arm_BL : Arm_Branch_Immediate |
|
27 { |
|
28 #region Constructors |
|
29 public Arm_BL() |
|
30 { |
|
31 // cond 101 L signed_immed_24 |
|
32 // 1110 101 1 00001000 00100111 00100101 => 0x00209cc8 |
|
33 base.SetMask( "#### 101 1 ########", "######## ########" ); |
|
34 } |
|
35 #endregion |
|
36 |
|
37 #region From ArmBaseInstruction |
|
38 protected override bool DoQueryInvolvementAsDestination( TArmRegisterType aRegister ) |
|
39 { |
|
40 bool ret = false; |
|
41 // |
|
42 bool linkSaved = base[ 24 ] == SymbianUtils.BasicTypes.SymBit.ESet; |
|
43 if ( linkSaved ) |
|
44 { |
|
45 ret = ( aRegister == TArmRegisterType.EArmReg_LR ); |
|
46 } |
|
47 // |
|
48 return ret; |
|
49 } |
|
50 #endregion |
|
51 |
|
52 #region API |
|
53 #endregion |
|
54 |
|
55 #region Properties |
|
56 #endregion |
|
57 |
|
58 #region Internal methods |
|
59 #endregion |
|
60 |
|
61 #region Data members |
|
62 #endregion |
|
63 } |
|
64 } |
|
65 |