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

Support align directive #27

Open
DonaldHays opened this issue Jul 4, 2024 · 0 comments
Open

Support align directive #27

DonaldHays opened this issue Jul 4, 2024 · 0 comments

Comments

@DonaldHays
Copy link
Owner

https://rgbds.gbdev.io/docs/v0.8.0/rgbasm.5#Requesting_alignment

While ALIGN as presented in SECTIONS is often useful as-is, sometimes you instead want a particular piece of data (or code) in the middle of the section to be aligned. This is made easier through the use of mid-section ALIGN align, offset. It will alter the section's attributes to ensure that the location the ALIGN directive is at, has its align lower bits equal to offset.

This might not require anything more than adding the align keyword in directive IntelliSense contexts.

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

No branches or pull requests

1 participant