Page 1 of 1

Assembler

Posted: Thu Mar 13, 2014 10:32 pm
by User108
How can I create assembler primitive's string/integer/etc array input and output? Have seen somewhere on SM forum a schematics screen shot, but cannot figure it out how it was done in any FS manual. Basic example of how to add 2+2 with output appreciated. Thank you.

Re: Assembler

Posted: Fri Mar 14, 2014 3:06 pm
by KG_is_back
Assembler primitive is made for DSP (digital signal processing). It handles inputs and outputs on sample-by-sample basis. Currently it supports only floating point SSE input/output. Even if you connect green component to that input it will be converted to Floating point first. To process green data like arrays (of any type) use ruby component.

Re: Assembler

Posted: Fri Mar 14, 2014 9:16 pm
by User108
Thanks for clarification, but I bet I really saw a screenshot where asm primitive had a string array input! May be later I'll find it again to show here.

Re: Assembler

Posted: Fri Mar 14, 2014 11:36 pm
by KG_is_back
User108 wrote:Thanks for clarification, but I bet I really saw a screenshot where asm primitive had a string array input! May be later I'll find it again to show here.

I'm pretty sure you are either wrong or it was just photoshoped for use in context. the ASM in FS/SM has no instructions to handle strings or string arrays. you can't even (officially) input integers (although you can process them internally).

Re: Assembler

Posted: Sat Mar 15, 2014 3:21 am
by tester
There should be some assembler tutorials on synthmaker forum. I remember cyto did some tools for that.

http://synthmaker.co.uk/forum/viewtopic ... 76&p=86527
http://synthmaker.co.uk/forum/viewtopic ... 33&p=85291

Just rename osm to fsm; it will load in FS.

Re: Assembler

Posted: Sat Mar 15, 2014 10:55 am
by User108
Thanks, Tester. Finally I've found it - here's asm with array input:
http://www.synthmaker.co.uk/forum/viewtopic.php?f=5&t=10248&p=76918

asm array_orig.jpg
asm array_orig.jpg (74.3 KiB) Viewed 13791 times


Seems to be photoshoped for a feature request indeed.. Hate Photoshop now))). But looks really cool.))

Re: Assembler

Posted: Sat Mar 15, 2014 11:09 am
by User108