summaryrefslogtreecommitdiff
path: root/src/arch/dalvik/instruction.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-06-27 11:46:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-06-27 11:46:06 (GMT)
commita3b128d4f448fa1eee12074a9bf0256b06e222e8 (patch)
tree260b2df0c52a6e998a81c7af0aa7f62b74c33fe5 /src/arch/dalvik/instruction.h
parentdad83b556250a85a9b2ccf68e5fb6f4df7dca1f4 (diff)
Fixed many bugs with the branch targets and supported one sub opcode.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@170 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/dalvik/instruction.h')
-rw-r--r--src/arch/dalvik/instruction.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/arch/dalvik/instruction.h b/src/arch/dalvik/instruction.h
index 4a41668..cc7f845 100644
--- a/src/arch/dalvik/instruction.h
+++ b/src/arch/dalvik/instruction.h
@@ -74,17 +74,17 @@ typedef enum _DalvikOpcodes
DOP_CMPG_DOUBLE, /* cmpg-double (0x30) */
DOP_CMP_LONG, /* cmp-long (0x31) */
DOP_IF_EQ, /* if-eq (0x32) */
- DOP_IF_EQZ, /* if-eqz (0x33) */
- DOP_IF_GE, /* if-ge (0x34) */
- DOP_IF_GEZ, /* if-gez (0x35) */
- DOP_IF_GT, /* if-gt (0x33) */
- DOP_IF_GTZ, /* if-gtz (0x37) */
- DOP_IF_LE, /* if-le (0x38) */
- DOP_IF_LEZ, /* if-lez (0x39) */
- DOP_IF_LT, /* if-lt (0x3a) */
- DOP_IF_LTZ, /* if-ltz (0x3b) */
- DOP_IF_NE, /* if-ne (0x3c) */
- DOP_IF_NEZ, /* if-nez (0x3d) */
+ DOP_IF_NE, /* if-ne (0x33) */
+ DOP_IF_LT, /* if-lt (0x34) */
+ DOP_IF_GE, /* if-ge (0x35) */
+ DOP_IF_GT, /* if-gt (0x36) */
+ DOP_IF_LE, /* if-le (0x37) */
+ DOP_IF_EQZ, /* if-eqz (0x38) */
+ DOP_IF_NEZ, /* if-nez (0x39) */
+ DOP_IF_LTZ, /* if-ltz (0x3a) */
+ DOP_IF_GEZ, /* if-gez (0x3b) */
+ DOP_IF_GTZ, /* if-gtz (0x3c) */
+ DOP_IF_LEZ, /* if-lez (0x3d) */
@@ -154,7 +154,7 @@ typedef enum _DalvikOpcodes
DOP_TO_INT_CHAR, /* int-to-char (0x8e) */
DOP_TO_INT_SHORT, /* int-to-short (0x8f) */
DOP_ADD_INT, /* add-int (0x90) */
-
+ DOP_SUB_INT, /* sub-int (0x91) */
DOP_MUL_INT, /* mul-int (0x92) */
DOP_DIV_INT, /* div-int (0x93) */
DOP_REM_INT, /* rem-int (0x94) */