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

Document the DAA instruction behavior #1562

Open
Rangi42 opened this issue Nov 25, 2024 · 0 comments
Open

Document the DAA instruction behavior #1562

Rangi42 opened this issue Nov 25, 2024 · 0 comments
Labels
docs This affects the documentation (web-specific issues go to rgbds-www) rgbasm This affects RGBASM
Milestone

Comments

@Rangi42
Copy link
Contributor

Rangi42 commented Nov 25, 2024

We already describe the nontrivial HALT instruction behavior, #1561 links to Pan Docs for STOP, we illustrate the BIT/RES/SET instructions, and clarify a few others. But DAA is just described as "Decimal Adjust Accumulator to get a correct BCD representation after an arithmetic instruction." Given how many online guides there are to this instruction on various platforms (1, 2, 3, 4, etc), there's clear demand for an explanation. It would also be a chance to note that the N and H flags aren't completely pointless.

@Rangi42 Rangi42 added docs This affects the documentation (web-specific issues go to rgbds-www) rgbasm This affects RGBASM labels Nov 25, 2024
@Rangi42 Rangi42 added this to the v0.9.0 milestone Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This affects the documentation (web-specific issues go to rgbds-www) rgbasm This affects RGBASM
Projects
None yet
Development

No branches or pull requests

1 participant