mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-25 15:39:28 +00:00
Adding an error message on invalid instructions
This commit is contained in:
@@ -127,7 +127,12 @@ namespace ComSquare::Debugger
|
||||
//! @brief Read data at a global address and log it to the debugger.
|
||||
//! @param addr The address to read from.
|
||||
//! @return The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register.
|
||||
uint8_t read(uint24_t addr, bool silence = false) override;
|
||||
uint8_t read(uint24_t addr) override;
|
||||
|
||||
//! @brief Read data at a global address and log it to the debugger.
|
||||
//! @param addr The address to read from.
|
||||
//! @return The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register.
|
||||
uint8_t read(uint24_t addr, bool silence) override;
|
||||
|
||||
//! @brief Write a data to a global address and log it to the debugger.
|
||||
//! @param addr The address to write to.
|
||||
|
||||
Reference in New Issue
Block a user