1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-11-26 11:17:59 +00:00

Take a bash at LINK and UNLK.

This commit is contained in:
Thomas Harte
2022-05-04 08:26:11 -04:00
parent 7d10976e08
commit 5d1d94848c
3 changed files with 24 additions and 18 deletions

View File

@@ -45,8 +45,11 @@ template <Model model, typename BusHandler> class Executor {
void add_pc(uint32_t);
void decline_branch() {}
void did_update_status();
void bsr(uint32_t offset);
void jsr(uint32_t offset);
void link(uint32_t &address, uint32_t offset);
void unlink(uint32_t &address);
// TODO: ownership of this shouldn't be here.
struct Registers {