Skip to content

Implement BRMI and BRPL branch instructions #12

Description

@sql-hkr

These instructions handle conditional jumps based on the N (Negative) flag in the status register, which indicates whether the result of the last arithmetic or logic operation was negative.

Tasks:

  • Implement BRMI to branch when N = 1.
  • Implement BRPL to branch when N = 0.
  • Add corresponding unit tests verifying correct behavior for negative and positive values.

References:

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions