-
Notifications
You must be signed in to change notification settings - Fork 8
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
Labels without colon #15
Comments
Which assembler are you taking as reference? I'm using easy68k |
Ok i used easy68k and this seems to be expected behaviour too
this works. i'm not sure what the grammar of m68k is at this point, i don't know how i could differentiate between instructions and labels. I should do a rewrite of the lexer/parser of the interpreter but i don't have much time lately, i'll keep this in consideration for the future though. If you have resources or information about this, share them here and i'll look at them |
From Easy68k Help:
|
Ah that assumes that instructions are always one tab indented and can't be on the start of the line, I'm not sure if I want that behavior |
Ok, but that's the official behavior of Motorola's original MASM. You can read it in section 2.4.1 |
Yes I saw, to implement that I'd have to redo the lexer/parser from scratch since it's pretty bad for now and doesn't support such things. I don't have much time to do that lately so I'll delay this for when I have the time, which might be a few months I'll keep this issue open to track the feature |
Labels with colons are not mandatory in 68000 assembler but it seems that they are in your asm-editor. Could this requirement be eliminated to avoid having to add the colon to all labels in order to adapt the code to your editor?
Thanks
The text was updated successfully, but these errors were encountered: