zlacker

[return to "Customasm – An assembler for custom, user-defined instruction sets"]
1. IshKeb+sn8[view] [source] 2025-01-15 07:51:28
>>zdw+(OP)
This is very cool. On the topic of assembly, does anyone know of a language that is higher level than assembly, but retains the property that the output doesn't depend on the compiler or its flags?

I want it for low level CPU benchmarks and tests. Using C or assembly for those both suck.

I don't really know exactly how this would look (is the register allocator part of the spec?) but has anyone tried something like this?

◧◩
2. Levita+Bw8[view] [source] 2025-01-15 09:28:29
>>IshKeb+sn8
> but retains the property that the output doesn't depend on the compiler or its flags?

That's not an inherent property of assemblers, and not the case in practice either.

[go to top]