Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Assembler (ASM) and optimisation tutorial by KG_is_back

DSP related issues, mathematics, processing and techniques

Assembler (ASM) and optimisation tutorial by KG_is_back

Postby Spogg » Sat Jul 04, 2020 11:39 am

A long time ago KG_is_back created a great resource for learning assembler in FlowStone. It was put on the Guru website which now doesn’t work.
I found this information really useful and learnt some basics at least.
There are two texts, one was about assembler and the other was about optimisation in assembler. There was also a pdf listing the available opcodes and a schematic he made with some useful tools.

I took it upon myself to proofread the documents, which involved correcting and improving the English. Then I combined the two texts into one document. I didn’t change any of the technical stuff.
Then I sent it to KG and he was appreciative, but wanted to improve on the technical stuff, after which he would post it. That never happened and he hasn’t visited the forum since January 2020.
So I decided to share it anyway, because it’s really good as it is.

Keep in mind that it’s not my work, and that it’s valid for FS3. I gather the FS4 alpha has extended the possibilities considerably.

I hope you find it useful.
Attachments
KG's ASM infos.zip
(1.65 MiB) Downloaded 1298 times
User avatar
Spogg
 
Posts: 3318
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby adamszabo » Sat Jul 04, 2020 12:47 pm

Nice one, thanks!
adamszabo
 
Posts: 657
Joined: Sun Jul 11, 2010 7:21 am

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby tektoog » Sat Jul 04, 2020 1:45 pm

Yep, thanks for sharing ;)
"Essential random order for chaotic repetitive sequences"
User avatar
tektoog
 
Posts: 141
Joined: Sat Oct 30, 2010 11:49 pm
Location: Geneva - Switzerland

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby HughBanton » Mon Jul 13, 2020 7:51 pm

Nice job, Spogg.

I've learned a ton of stuff from the Guru site, an absolute goldmine.

H
User avatar
HughBanton
 
Posts: 265
Joined: Sat Apr 12, 2008 3:10 pm
Location: Evesham, Worcestershire

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby josevo » Mon Aug 03, 2020 9:11 pm

Thank you so much!
User avatar
josevo
 
Posts: 33
Joined: Mon Jan 01, 2018 9:41 pm

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby DSP-Robotron » Fri Aug 21, 2020 11:53 pm

Since the other Arp made in Ruby has performance issues and bugs and who knows what else, can that Arp be recreated in assembler ?
DSP-Robotron
 
Posts: 58
Joined: Tue Aug 18, 2020 3:39 am

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby Spogg » Sat Aug 22, 2020 8:14 am

DSP-Robotron wrote:...can that Arp be recreated in assembler ?

It’s an interesting question but I don’t think ASM can deal with MIDI. Maybe someone who knows ASM/Ruby better than me can respond.
User avatar
Spogg
 
Posts: 3318
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby tulamide » Sat Aug 22, 2020 3:22 pm

Spogg wrote:
DSP-Robotron wrote:...can that Arp be recreated in assembler ?

It’s an interesting question but I don’t think ASM can deal with MIDI. Maybe someone who knows ASM/Ruby better than me can respond.

Assembler is a low level language, invented to directly communicate with the heart of a PC, which is the processor (nowadays, with combined functionality on one chip called CPU). The physical structure of a CPU (with cache, registors, memory lanes, etc.) is key to understanding Assembler. You can access registers, and do mathematical operations with the bits stored there, using memory to buffer results, by invoking instructions from a defined set that a processor understands (keywords are CISC, RISC, etc). Nothing more.

It's the genius of people like Martin that give this "simple" mechanism a meaning in the DSP world. But MIDI should be close to impossible to control by ASM, unless an access other than the red MIDI inputs/outputs is granted.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2686
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Assembler (ASM) and optimisation tutorial by KG_is_back

Postby Spogg » Sat Aug 22, 2020 3:30 pm

tulamide wrote:... It's the genius of people like Martin that give this "simple" mechanism a meaning in the DSP world. But MIDI should be close to impossible to control by ASM, unless an access other than the red MIDI inputs/outputs is granted.


Thank you tulamide! :D

It's what I suspected simply because I'd never seen any midi stuff done in ASM and KG never mentioned it in his tutorial. But I wasn't completely sure.
Another point is that midi is very slow in comparison with ASM which is lightning fast, so there would probably be little to gain anyway.

Cheers!
User avatar
Spogg
 
Posts: 3318
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England


Return to DSP

Who is online

Users browsing this forum: No registered users and 28 guests