Bug 222 - Edge case in 680x0 addressing mode parsing
Summary: Edge case in 680x0 addressing mode parsing
Status: UNCONFIRMED
Alias: None
Product: RMAC
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: All All
: Normal normal
Assignee: Shamus Hammons
URL:
Depends on:
Blocks:
 
Reported: 2023-12-04 09:29 CST by ggn
Modified: 2023-12-04 09:30 CST (History)
1 user (show)

See Also:


Attachments
The patches! (1.35 KB, patch)
2023-12-04 09:30 CST, ggn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ggn 2023-12-04 09:29:16 CST
Things like:

move.l #100,($500+$6000-$5000).w

would give a "reached end of line while parsing expression" error. This is because the token-peek-ahead code I had written to make parsing more flexible did not take DOTW and DOTL into account as a termination clause when scanning.

Patch incoming.
Comment 1 ggn 2023-12-04 09:30:44 CST
Created attachment 215 [details]
The patches!