Lorenzi

Results 84 comments of Lorenzi

That's a good idea! I hadn't even realized that would be a problem. Any possibility that the user would want this (broken) behavior instead?

I forgot to mention there's an undocumented `#labelalign` directive, which might come in handy here? When you specify it, the assembler will automatically align every global label you define. So...

Beginning with v0.11, strings are actually treated as UTF-8-encoded byte arrays, and you can use it inside any expression. Be sure to check the [migration guide](https://github.com/hlorenzi/customasm/wiki/Migrating-to-v0.11). In your case, you...

Yeah, I tried setting up a changelog file [here](https://github.com/hlorenzi/customasm/blob/main/CHANGELOG.md), but I just felt that the recent updates don't bring anything worthy of note, just mainly bug fixes for regressions. The...

As a workaround right now, maybe you could use `assert` to reject incompatible arguments? Something like this: ```asm #subruledef AM { {REG: Dn} => 0b000 @ REG`3 ; Dn {REG:...

I tried the code on your pastebin and it looks like there's something wrong with asserts... I'll have to investigate! (By the way, the assert condition in my post was...

I've fixed asserts in v0.11.4, so your pastebin code should work now!

I just got a bit of time to review this, and I think it's a great idea! I'm all for it! But I'm thinking this might mess up the association...

Hmm, tried doing a test with https://crates.io/crates/workspace_test But then when doing `cargo install workspace_test`, it says: ![image](https://user-images.githubusercontent.com/8540358/131224279-b6bd1536-861c-4306-ae98-c37ed2b1d766.png) Also, it became cumbersome to run the app during development, since `cargo run`...

Wow, what a complete mess without any resolution, unfortunately. I read that entire thread and all related threads as well. To think we just needed something like a `[bin-dependencies]` field...