assembly-zig
I spent some time learning assembly and took the opportunity to do so while also trying to interact with Zig code from assembly and vice-versa.
I learned a lot about calling conventions, X86 assembly, Zig – at the time 0.16.0 wasn’t tagged yet so I also got to experiment with the new Juicy Main before release (it is a fun feeling to use unstable and undocumented features), stack alignment, linking. I had so much fun I thought I would share it with you.
This is just a repository with some examples for those who might find themselves trying to call assembly code from zig or zig code from assembly. For the advanced users who already understand linking and object files this might be boring.
I’m sharing as someone might benefit from the project and also hear any comments you might have.
Supported Zig versions
0.16.0