From 6b45e0f81267be6140f0f178579494ca6d24443b Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 31 Oct 2022 19:55:32 -0700 Subject: Restructure a lot of the control registers --- isa/ctlreg.def | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'isa/ctlreg.def') diff --git a/isa/ctlreg.def b/isa/ctlreg.def index d490073..e379b21 100644 --- a/isa/ctlreg.def +++ b/isa/ctlreg.def @@ -1,7 +1,5 @@ -REG(DATA_INSTRUCTION_FIELD_BUFFER) // (df << 3) | if_buffer -REG(DATA_INSTRUCTION_FIELD_SAVED) // (df_saved << 3) | if_saved +REG(FLAGS) // see FLAG_* consts in isa/isa.h +REG(FLAGS_SAVED) // see FLAG_* consts in isa/isa.h REG(HALTED) -REG(INT_ENABLE) // (int_enable_delay << 1) | int_enable -REG(INT_PENDING) // only meaningful if interrupts disabled -REG(TT_BITS) // see TT[IO]_* consts in isa/isa.h -REG(TT_INT_ENABLE) // (status_enable << 1) | (int_enable) +REG(TT_BITS) // see TT[IO]_* consts in isa/isa.h +REG(TT_FLAGS) // see TTF_* consts in isa/isa.h -- cgit v1.2.3