Showing the current PC in the disassembly view

This commit is contained in:
Anonymus Raccoon
2020-03-28 00:54:11 +01:00
parent 686e88d7ea
commit 0119a5856b
6 changed files with 133 additions and 41 deletions
+9 -3
View File
@@ -12,11 +12,17 @@
namespace ComSquare::Utility
{
std::string to_hex(uint8_t i);
enum HexString {
NoPrefix,
AsmPrefix,
StandardPrefix
};
std::string to_hex(uint16_t i);
std::string to_hex(uint8_t i, HexString prefix = StandardPrefix);
std::string to_hex(uint24_t i);
std::string to_hex(uint16_t i, HexString prefix = StandardPrefix);
std::string to_hex(uint24_t i, HexString prefix = StandardPrefix);
std::string to_binary(uint8_t i);