mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-07 03:34:55 +00:00
Adding the program counter relative addressing mode
This commit is contained in:
@@ -218,6 +218,8 @@ namespace ComSquare::CPU
|
||||
uint24_t _getAbsoluteIndexedByYAddr();
|
||||
//! @brief The effective address is formed by adding the <long exp> with X.
|
||||
uint24_t _getAbsoluteLongIndexedByXAddr();
|
||||
//! @brief The <8-bit signed exp> is added to PC (program counter) to form the new location.
|
||||
uint24_t _getProgramCounterRelativeAddr();
|
||||
|
||||
|
||||
//! @brief Execute a single instruction.
|
||||
|
||||
Reference in New Issue
Block a user