diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2010-05-19 23:30:05 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2010-05-19 23:30:05 (GMT) | 
| commit | 6511f2fe4551c2ea231115d6c659c99e15b3a23b (patch) | |
| tree | aeb6d8a50480063e8d75a9096c0ab98420830dad /src/arch/dalvik/instruction.h | |
| parent | 8aca52bcbb6b9c710771087dddeadf4adb05dc66 (diff) | |
Added support for a few more Dalvik instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@160 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/dalvik/instruction.h')
| -rw-r--r-- | src/arch/dalvik/instruction.h | 25 | 
1 files changed, 23 insertions, 2 deletions
diff --git a/src/arch/dalvik/instruction.h b/src/arch/dalvik/instruction.h index 2bd77a3..e5a3e69 100644 --- a/src/arch/dalvik/instruction.h +++ b/src/arch/dalvik/instruction.h @@ -29,13 +29,15 @@ - -  /* Enumération de tous les opcodes */  typedef enum _DalvikOpcodes  {      DOP_NOP,                                /* nop (0x00)                  */ + +    DOP_MOVE_RESULT_OBJECT,                 /* move-result-object (0x0c)   */ + +      DOP_CONST_4,                            /* const/4 (0x12)              */      DOP_CONST_16,                           /* const/16 (0x13)             */ @@ -48,6 +50,23 @@ typedef enum _DalvikOpcodes      DOP_RETURN,                             /* return (0x0f)               */ +    DOP_NEW_INSTANCE,                       /* new-instance (0x22)         */ + + +    DOP_IGET,                               /* iget (0x52)                 */ +    DOP_IGET_WIDE,                          /* iget-wide (0x53)            */ +    DOP_IGET_OBJECT,                        /* iget-object (0x54)          */ +    DOP_IGET_BOOLEAN,                       /* iget-boolean (0x55)         */ +    DOP_IGET_BYTE,                          /* iget-byte (0x56)            */ +    DOP_IGET_CHAR,                          /* iget-char (0x57)            */ +    DOP_IGET_SHORT,                         /* iget-short (0x58)           */ +    DOP_IPUT,                               /* iput (0x59)                 */ +    DOP_IPUT_WIDE,                          /* iput-wide (0x5a)            */ +    DOP_IPUT_OBJECT,                        /* iput-object (0x5b)          */ +    DOP_IPUT_BOOLEAN,                       /* iput-boolean (0x5c)         */ +    DOP_IPUT_BYTE,                          /* iput-byte (0x5d)            */ +    DOP_IPUT_CHAR,                          /* iput-char (0x5e)            */ +    DOP_IPUT_SHORT,                         /* iput-short (0x5f)           */      DOP_SGET,                               /* sget (0x60)                 */      DOP_SGET_WIDE,                          /* sget-wide (0x61)            */      DOP_SGET_OBJECT,                        /* sget-object (0x62)          */ @@ -61,6 +80,8 @@ typedef enum _DalvikOpcodes      DOP_MUL_INT_2ADDR,                      /* mul-int/2addr (0xb2)        */ +    DOP_ADD_INT_LIT8,                       /* add-int/lit8 (0xd8)         */ +      DOP_COUNT  } DalvikOpcodes;  | 
