diff options
author | bd <bdunaisky@umass.edu> | 2025-04-01 02:12:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 02:12:15 +0000 |
commit | 6f536bd1bd1abab307c79d688c993e930cf7c250 (patch) | |
tree | 6132673f5aa85f2488d6f7de77fb33538b7320d3 /inc/instrDTO.h | |
parent | 44cb9d396b909c84ef7ad3338e0a12cfcc082748 (diff) | |
parent | 574212dafcf1c4bdb7d5e6aaa577b74345988d67 (diff) |
Merge pull request #45 from bdunahu/dev-sid
MEM WB stage
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 */ |