diff options
Diffstat (limited to 'isa/decode.cpp')
| -rw-r--r-- | isa/decode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
| 153 | }; | 153 | }; |
| 154 | break; | 154 | break; |
| 155 | case 5: | 155 | case 5: |
| 156 | // KIE set TT_INPUT_INT_ENABLE to the low bit of the accumulator | 156 | // KIE set TT_INT_ENABLE to the low bit of the accumulator |
| 157 | inst.need_read_acc = true; | 157 | inst.need_read_acc = true; |
| 158 | inst.write_ctlreg = TT_INPUT_INT_ENABLE; | 158 | inst.write_ctlreg = TT_INT_ENABLE; |
| 159 | inst.ef = [](auto &ctx) { | 159 | inst.ef = [](auto &ctx) { |
| 160 | ctx.ctlval = ctx.acc.value() & 3; | 160 | ctx.ctlval = ctx.acc.value() & 3; |
| 161 | }; | 161 | }; |
