Skip to content

test(cpu): pin high-register PC reads; changelog for the ADD fix - #72

Merged
begeistert merged 2 commits into
masterfrom
test/hi-reg-pc-reads
Oct 14, 2026
Merged

begeistert merged 2 commits into
masterfrom
test/hi-reg-pc-reads

Conversation

@begeistert

Copy link
Copy Markdown
Collaborator

What

This PR rescues three local commits from 2026-09-21 that were never pushed. master already has the high-register ADD PC-read fix (465fd7c, and it is more complete than the local version), but two things were missing:

  • Tests: they pin the PC read of the high-register ADD, MOV and CMP forms to the instruction address + 4. One test places the instruction at a halfword-aligned address. MOV and CMP already behave correctly, but until now no test guarded them. The conflict with the ADD test that master already had was resolved by keeping all three tests.
  • CHANGELOG: master had no entry for the fix. The entry now describes all three ADD forms and the MicroPython native-module symptom.

No code changes.

Verification

Unit suite: 583 passed, 0 failed.

@begeistert
begeistert requested a review from lmSeryi as a code owner October 14, 2026 15:31
@begeistert
begeistert merged commit cf08cec into master Oct 14, 2026
4 checks passed
@begeistert
begeistert deleted the test/hi-reg-pc-reads branch October 16, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant