From d4de41da0bd70a51aeb26b3d1a8d70bd59b3447e Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 15 Oct 2022 14:30:18 -0700 Subject: Add MQ register support. --- isa/isa.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'isa/isa.h') diff --git a/isa/isa.h b/isa/isa.h index 3b8220e..11a8db2 100644 --- a/isa/isa.h +++ b/isa/isa.h @@ -22,9 +22,11 @@ struct instruction_context { bool need_exec_load = false; // data = mem[final_address] bool need_read_acc = false; // acc = %acc bool need_read_link = false; // link = %link + bool need_read_mq = false; // mq = %mq std::optional read_ctlreg; // ctlval = %[read_ctlreg] bool need_write_acc = false; // %acc = acc bool need_write_link = false; // %link = link + bool need_write_mq = false; // %mq = mq std::optional write_ctlreg; // %[write_ctlreg] = ctlval bool need_exec_store = false; // mem[final_address] = data bool possibly_redirects = false; // %pc = next_pc @@ -40,6 +42,7 @@ struct instruction_context { std::optional data; std::optional acc; std::optional link; + std::optional mq; bool halt = false; }; -- cgit v1.2.3