From the original SynthMaker forum (2004–2014), with its members’ names and dates.
markholtuk ·
Hi all,
I have a simple question about the code component and SM's conversion to assembly code.
I realise that I can attach a text box to the code module's output and see SM's conversion to assembly code and that I can copy that in to the assembly module. My question is, will that assembly code be significantly more efficient than using the more understandable code module?
Many thanks,
Mark
stw ·
No.
This asm code should be exactly as efficient as the code. It's only a translation of the code into asm. But you can optimize the asm code further beyond the code limits. There're some articles about what can be done due to unnecessary asm commands or simplified paths to the wanted result. There're some additional asm opcodes which can be used or replace the way the simple code translation works.
For a start you can search for "optimize" and "asm" in the wiki and here in the forum to get a better insight.
markholtuk ·
OK, thanks for for answering. I'll look those up. It's good that SM allows you to see the generated code and use it as a starting block. I think I'll continue using the code module, whilst I'm still learning to walk 🙂
MichaelBenjamin ·
yes the code box is by far the most powerful feature in sm, despite outsim marketing it more like a prefab toolkit.
for dsp, besides array reads and some other primitives its all you need.
Wrote something here? To have a post removed or your name hidden, write to [email protected].