crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianInstructionLib/Arm/Instructions/Arm/Branching/Bases/Arm_Branch_Immediate.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 public abstract class Arm_Branch_Immediate : Arm_Branch |
|
26 { |
|
27 #region Constructors |
|
28 protected Arm_Branch_Immediate() |
|
29 { |
|
30 } |
|
31 #endregion |
|
32 |
|
33 #region From Arm_Branch |
|
34 public override int BranchOffset |
|
35 { |
|
36 get |
|
37 { |
|
38 int offset = ArmInstructionUtils.SignExtend24BitTo32Bit( base.AIRawValue & 0x00FFFFFF ); |
|
39 return offset; |
|
40 } |
|
41 } |
|
42 #endregion |
|
43 |
|
44 #region Properties |
|
45 #endregion |
|
46 |
|
47 #region Internal methods |
|
48 #endregion |
|
49 |
|
50 #region Data members |
|
51 #endregion |
|
52 } |
|
53 } |
|
54 |