summaryrefslogtreecommitdiff
path: root/inc/utils.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-28 19:55:04 -0400
committerbd <bdunahu@operationnull.com>2025-03-28 19:55:04 -0400
commit579538d8c3240dcec1fd007a67b5ae4aaa832d3b (patch)
tree0e47fc8a8d34ccdf9bdc06d9e23123c51e2f7231 /inc/utils.h
parent136417edd709f0e2d30931d222b658ff7dd9a5a8 (diff)
Move get_instr_fields, add all instruction mnemonics
Diffstat (limited to 'inc/utils.h')
-rw-r--r--inc/utils.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/inc/utils.h b/inc/utils.h
index 7fed157..a375b68 100644
--- a/inc/utils.h
+++ b/inc/utils.h
@@ -13,24 +13,6 @@
void get_cache_fields(int address, int *tag, int *index, int *offset);
/**
- * Parse an instruction into a type, opcode, and fields. If the type is invalid,
- * only the type field will be set.
- * @param the resulting first field, which varies per type. To call this
- * function properly, this field must contain the full instruction bytes on
- * function entry.
- * @param the resulting second field, which varies per type.
- * @param the resulting third field, which varies per type.
- * @param the resulting type.
- * @param the resulting opcode.
- */
-void get_instr_fields(
- signed int &s1,
- signed int &s2,
- signed int &s3,
- unsigned int &type,
- unsigned int &opcode);
-
-/**
* Formats a string using snprintf.
* @param an object that represents the format string
* @param arguments to be formatted