From 683d2d10afcee0d728794cc179f640e8a777b3c1 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 31 Oct 2022 19:26:15 -0700 Subject: Unify TT_INPUT_INT_ENABLE and TT_OUTPUT_INT_ENABLE --- isa/decode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'isa/decode.cpp') diff --git a/isa/decode.cpp b/isa/decode.cpp index f183c1f..c11679c 100644 --- a/isa/decode.cpp +++ b/isa/decode.cpp @@ -153,9 +153,9 @@ instruction_context decode(unsigned int dfifb, unsigned int pc, unsigned int bit }; break; case 5: - // KIE set TT_INPUT_INT_ENABLE to the low bit of the accumulator + // KIE set TT_INT_ENABLE to the low bit of the accumulator inst.need_read_acc = true; - inst.write_ctlreg = TT_INPUT_INT_ENABLE; + inst.write_ctlreg = TT_INT_ENABLE; inst.ef = [](auto &ctx) { ctx.ctlval = ctx.acc.value() & 3; }; -- cgit v1.2.3