summaryrefslogtreecommitdiff
path: root/inc/id.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-17 02:23:37 -0400
committerbd <bdunahu@operationnull.com>2025-04-17 02:23:37 -0400
commit430986b4b1ee1013db070991ce289176f48fa8e8 (patch)
treee1f68ac7a6e4dc481c19346e38ad20d113f13825 /inc/id.h
parent009a9fdc846479290c9ec4e9074c4ecc112bcfdb (diff)
Swap the source and destination registers for LOAD, final fix
Diffstat (limited to 'inc/id.h')
-rw-r--r--inc/id.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/id.h b/inc/id.h
index ed13771..c1810ae 100644
--- a/inc/id.h
+++ b/inc/id.h
@@ -67,7 +67,7 @@ class ID : public Stage
* @param the resulting mnemonic.
*/
void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m, Type &t);
- void decode_R_type(signed int &s1, signed int &s2, signed int &s3);
+ void decode_R_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_I_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_J_type(signed int &s1, signed int &s2, signed int &s3);
/**