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

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

converting small thing into ASM

For general discussion related FlowStone

converting small thing into ASM

Postby tester » Tue Jun 25, 2013 6:50 pm

I just found another piece, that could save (very little but some) CPU due to need of reusing pack/unpack on the go. How to convert this one into mono4 single ASM piece? (Multipliers are used instead of selectors/multiplexers to avoid code resets on switch; I guess this one is not doable in code due to different operations on channels?). Correct me if I'm wrong (i.e. if there is no benefit from such conversion).
Attachments
leds.fsm
(2.13 KiB) Downloaded 851 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: converting small thing into ASM

Postby MyCo » Tue Jun 25, 2013 9:21 pm

This one only works with the first 2 channels of packed mono. The other 2 channels are overwritten, by a copy of the first 2.
Attachments
leds (MyCo).fsm
(2.41 KiB) Downloaded 862 times
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: converting small thing into ASM

Postby tester » Tue Jun 25, 2013 9:24 pm

Thanks!

Good learning tool for getting some basics on the go.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: No registered users and 70 guests