|
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 System.ComponentModel; |
|
21 |
|
22 namespace SymbianStructuresLib.Arm.Instructions |
|
23 { |
|
24 public enum TArmInstructionCondition |
|
25 { |
|
26 [Description( "" )] |
|
27 ENotApplicable = -1, |
|
28 |
|
29 [Description( "EQ" )] |
|
30 EQ = 0, // 0000 EQ Equal Z set |
|
31 |
|
32 [Description( "NE" )] |
|
33 NE = 1, // 0001 NE Not equal Z clear |
|
34 |
|
35 [Description( "CS" )] |
|
36 CS = 2, // 0010 CS/HS Carry set/unsigned higher or same C set |
|
37 |
|
38 [Description( "CC" )] |
|
39 CC = 3, // 0011 CC/LO Carry clear/unsigned lower C clear0011 CC/LO Carry clear/unsigned lower C clear |
|
40 |
|
41 [Description( "MI" )] |
|
42 MI = 4, // 0100 MI Minus/negative N set |
|
43 |
|
44 [Description( "PL" )] |
|
45 PL = 5, // 0101 PL Plus/positive or zero N clear |
|
46 |
|
47 [Description( "VS" )] |
|
48 VS = 6, // 0110 VS Overflow V set |
|
49 |
|
50 [Description( "VC" )] |
|
51 VC = 7, // 0111 VC No overflow V clear |
|
52 |
|
53 [Description( "HI" )] |
|
54 HI = 8, // 1000 HI Unsigned higher C set and Z clear |
|
55 |
|
56 [Description( "LS" )] |
|
57 LS = 9, // 1001 LS Unsigned lower or same C clear or Z set |
|
58 |
|
59 [Description( "GE" )] |
|
60 GE = 10, // 1010 GE Signed greater than or equal. N set and V set, or N clear and V clear (N == V) |
|
61 |
|
62 [Description( "LT" )] |
|
63 LT = 11, // 1011 LT Signed less than. N set and V clear, or N clear and V set (N != V) |
|
64 |
|
65 [Description( "GT" )] |
|
66 GT = 12, // 1100 GT Signed greater than. Z clear, and either N set and V set, or N clear and V clear (Z == 0,N == V) |
|
67 |
|
68 [Description( "LE" )] |
|
69 LE = 13, // 1101 LE Signed less than or equal. Z set, or N set and V clear, or N clear and V set (Z == 1 or N != V) |
|
70 |
|
71 [Description( "" )] |
|
72 AL = 14, // 1110 AL Always (unconditional) - |
|
73 |
|
74 [Description( "" )] |
|
75 EX = 15, // 1111 EX - Extension - See Condition code 0b1111 |
|
76 } |
|
77 } |