dasm-assembler / dasm-assembler/dasm
Trailing commas in data declaration adds byte with value $00
Open
@dionoid is already working on this.
Since May 5, 2020.
bug
enhancement
- Dominant language
- C
- Stars
- 257
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Trailing commas in a data declaration line seems to effectively add a 0 value.
E.g. this code:
PF0Table ; table 0
.byte #%10000000,
.byte #%10000000,
.byte #%10000000,
.byte #%11000000,
(...)
will generate 8 bytes.
This is not expected. You would expect an error from dasm, or maybe have dasm ignore it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.