Skip to content

[SEQ] Misbehaviour of ADDI instructions after mysterious BEQ  #13

Description

@parastuffs

In the following code snippet: Q9.txt, the ADDI instructions behave weirdly after the simulator went over the BEQ 0, 7, rst line.
Weirdly in the sense that the immediate is wrongly sent to the ALU, even though the instruction is correctly decoded.
It might be because the incriminated BEQ line does not correctly disable some multiplexers after executing, resulting in incorrect signals being sent to the ALU for ADDI instructions.
Adding a NOP after the faulty line solves the problem (but not the code, it's a non-working WIP), maybe the jump communicated to BEQ was too close for some reason.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions