Adding the program counter relative addressing mode

This commit is contained in:
AnonymusRaccoon
2020-02-11 11:45:22 +01:00
parent 3f45f99991
commit 7d51bc623e
3 changed files with 27 additions and 0 deletions
+2
View File
@@ -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.