Skip to content

Allow END macro to set exec address#100

Merged
craigthomas merged 3 commits intomainfrom
end-exec-address
Feb 11, 2026
Merged

Allow END macro to set exec address#100
craigthomas merged 3 commits intomainfrom
end-exec-address

Conversation

@craigthomas
Copy link
Owner

@craigthomas craigthomas commented Feb 11, 2026

This PR updates the END macro so that it takes an optional label. The address of the label is then stored as the exec address of the assembly language program when saved as a CAS or DSK file. Unit tests updated to catch new conditions. This PR closes #99

@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.92%. Comparing base (0319eb7) to head (d3c0cdf).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   94.90%   94.92%   +0.02%     
==========================================
  Files          16       16              
  Lines        2041     2050       +9     
==========================================
+ Hits         1937     1946       +9     
  Misses        104      104              
Files with missing lines Coverage Δ
cocoasm/program.py 99.37% <100.00%> (+0.03%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec1f69d...d3c0cdf. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@craigthomas craigthomas merged commit cf0e679 into main Feb 11, 2026
3 checks passed
@craigthomas craigthomas deleted the end-exec-address branch February 11, 2026 20:50
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.

The END pseudo op needs to indicate start address

1 participant