-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Implement WORD()
function
#555
Conversation
For comparison, ca65 (and hence ca83) has these five functions:
N.B.: The |
This returns the low 16 bits of a label or constant.
@ISSOtm Would |
Given that we have never needed |
I think the |
No, only something that would make defining them easier. Projects defining the same functions, to me, seems akin to |
Shall I close this then? |
Let's keep it around, if for any reason user-defined functions wind up not being implemented. |
Superseded by a PR from a feature branch, #561. |
This returns the low 16 bits of a label or constant, as discussed in #rgbds.
make develop
does not give any new warnings, only the same ones as before:make checkpatch
does not give any warnings.Using
WORD(-X)
in place of$10000 - X
in pokecrystal succeeds tomake compare
.