diff options
Diffstat (limited to 'inc/instrDTO.h')
-rw-r--r-- | inc/instrDTO.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/inc/instrDTO.h b/inc/instrDTO.h index 77a223e..8249122 100644 --- a/inc/instrDTO.h +++ b/inc/instrDTO.h @@ -43,6 +43,10 @@ class InstrDTO * @return the mnemonic of the instruction */ Mnemonic get_mnemonic(); + /** + * @return the type of the instruction + */ + Type get_type(); /** * @param set hist key @@ -68,6 +72,11 @@ class InstrDTO * @param the mnemonic of the instruction */ void set_mnemonic(Mnemonic); + + /** + * @param the type of the instruction + */ + void set_type(Type); private: /** @@ -91,6 +100,11 @@ class InstrDTO * The mnemonic of the operation. */ Mnemonic mnemonic; + + /** + * Type of the instruction + */ + Type type; }; #endif /* INSTRDTO_H_INCLUDED */ |