SynthMaker

Code to ASM

Archive · 2011 4 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.