Assembler

For general discussion related FlowStone
Post Reply
User avatar
User108
Posts: 37
Joined: Thu Apr 18, 2013 9:52 pm

Assembler

Post 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.
HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Assembler

Post 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.
User avatar
User108
Posts: 37
Joined: Thu Apr 18, 2013 9:52 pm

Re: Assembler

Post 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.
HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Assembler

Post 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).
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Assembler

Post 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.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
User108
Posts: 37
Joined: Thu Apr 18, 2013 9:52 pm

Re: Assembler

Post 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 13781 times


Seems to be photoshoped for a feature request indeed.. Hate Photoshop now))). But looks really cool.))
HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
User avatar
User108
Posts: 37
Joined: Thu Apr 18, 2013 9:52 pm

Re: Assembler

Post by User108 »

HiAsm - A Visual Programming IDE for ALL programming languages:
https://hiasm.com
Post Reply