make the assembler LF-tolerant #7

Closed
opened 2026-03-11 00:18:21 +00:00 by bcox · 0 comments
Owner

Currently if you feed the assembler a file that has only LF line endings, it will overflow its input buffer and fail.

First, we should recognize either a CR or an LF as a line ending. Second, we shouldn't overflow the buffer; we should spit out "line too long" and exit.

Currently if you feed the assembler a file that has only LF line endings, it will overflow its input buffer and fail. First, we should recognize either a CR or an LF as a line ending. Second, we shouldn't overflow the buffer; we should spit out "line too long" and exit.
bcox closed this issue 2026-03-11 02:36:31 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bcox/x16-mads#7
No description provided.