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

Add a way to disable replaced instruction warnings #11

Open
sikthehedgehog opened this issue Apr 7, 2024 · 0 comments
Open

Add a way to disable replaced instruction warnings #11

sikthehedgehog opened this issue Apr 7, 2024 · 0 comments

Comments

@sikthehedgehog
Copy link

I tried building the SLZ decompressor as a test (https://github.com/sikthehedgehog/mdtools/blob/master/slz/md/slz.68k) and got these warnings:

Warning: AND should be ANDI.
On line 40 of 'slz.68k'...
    and.w   #$0F, d4

Warning: EOR should be EORI.
On line 52 of 'slz.68k'...
    eor.w   #$0F<<2, d4

There's probably a lot of old code written on the assumption that the assembler will pick the correct variant (like the above two, or move vs. movea, or writing movep with (an) instead of 0(an)). It would be useful to have a way to disable only these kinds of warnings without disabling all the other warnings.

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

No branches or pull requests

1 participant