Lorenzi

Results 84 comments of Lorenzi

Related to this issue, I've just added an `le()` function on v0.11.8, which does little-endian encoding of its argument. It might help in some of the cases discussed here! It's...

I'm still quite unsure about what kind of behavior a "global endianness directive" should have 😅 It's not very clear to me what types of expressions it should be applied...

> What about a command line argument like `little-endian` or `big-endian`. Most people are probably using x86-64 processors, which use little-endian. Most programs will therefore use little-endian by default, as...

I think I could add support for these old-style number literals as a command-line option, like `--allow-oldstyle-literals`. I could do that for `$00` and `%00` (`%` would probably conflict with...

If you could contribute a modification to the GitHub Actions pipeline to generate MacOS binaries, that would be greatly appreciated! I'm not too familiar with MacOS myself, and I don't...

I'm trying to decide whether to make the conditional directives be evaluated in a preprocessor step (like in C) or during the normal assembly pass. As preprocessor directives, they would...

Hmmm, I think this time it's a bit different from #39 since this issue doesn't deal with banks. Is the only problem here messing with the output format? I think...

I think it would indeed be a little difficult to statically decide what's a valid instruction and what's not, but we could just run the assembler over the source files...

I don't know if you're already using the [VSCode basic highlighting extension](https://marketplace.visualstudio.com/items?itemName=hlorenzi.customasm-vscode), but it does more or less what Notepad++ would do.

Yeah, it's ignoring whitespace. It was the easier route to take since the assembler uses a weird mix of lexical tokens and raw characters for instruction matching. I've gotta find...