diff options
Diffstat (limited to 'isa/decode.cpp')
| -rw-r--r-- | isa/decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/decode.cpp b/isa/decode.cpp index 8a85d41..5212ae7 100644 --- a/isa/decode.cpp +++ b/isa/decode.cpp | |||
| @@ -79,7 +79,7 @@ instruction_context decode(unsigned int dfifb, unsigned int pc, unsigned int bit | |||
| 79 | 79 | ||
| 80 | // Instructions with memory operands may be direct or indirect | 80 | // Instructions with memory operands may be direct or indirect |
| 81 | if (inst.need_exec_load || inst.need_exec_store || inst.possibly_redirects) { | 81 | if (inst.need_exec_load || inst.need_exec_store || inst.possibly_redirects) { |
| 82 | auto addr = (df << 12) | ((bits & 00200) ? (next_pc & 07600) : 0) | (bits & 00177); | 82 | auto addr = (df << 12) | ((bits & 00200) ? (inst.next_pc & 07600) : 0) | (bits & 00177); |
| 83 | if (bits & 00400) { | 83 | if (bits & 00400) { |
| 84 | inst.need_indirect_load = true; | 84 | inst.need_indirect_load = true; |
| 85 | inst.init_address = addr; | 85 | inst.init_address = addr; |
