Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix InstructionI matching for Execution #16

Closed
mrLSD opened this issue Jan 27, 2024 · 0 comments · Fixed by #15
Closed

Fix InstructionI matching for Execution #16

mrLSD opened this issue Jan 27, 2024 · 0 comments · Fixed by #15
Assignees
Labels
Milestone

Comments

@mrLSD
Copy link
Owner

mrLSD commented Jan 27, 2024

Description

▶️ For enum InstructionI:

'I' (Integer x32 instruction set)
type InstructionI =
    ...
    | ECALL
    | EBREAK

⚠️ for ExecuteI logic is incorrect match call:

let Execute (instr : InstructionI) (mstate : MachineState) =
    match instr with
@mrLSD mrLSD added the fix label Jan 27, 2024
@mrLSD mrLSD added this to the v0.4.1 milestone Jan 27, 2024
@mrLSD mrLSD self-assigned this Jan 27, 2024
@mrLSD mrLSD closed this as completed in #15 Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant