Skip to content

Fix opcode value parsing bugs. - #24

Merged
pfusik merged 1 commit into
pfusik:masterfrom
epi:epi/opcode
Sep 25, 2026
Merged

pfusik merged 1 commit into
pfusik:masterfrom
epi:epi/opcode

Conversation

@epi

@epi epi commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread xasm.1.asciidoc
when the listing goes to `-`, nor overwrites the listing file when both
*/l* and */t* name the same file (by Adrian Matoga)
- fixed parsing of opcode values: an operand such as in `{jsr $1234}`
is no longer misread, and a line ending with `{lda <` no longer crashes

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean "misread" ? Did readChar() consume the space then readAddrMode() expected that space?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. Failed with "Space expected".

@pfusik pfusik left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@pfusik
pfusik merged commit d917304 into pfusik:master Sep 25, 2026
4 checks passed
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.

2 participants