How about a "short coding helper"
#1
AudiWorld Senior Member
Thread Starter
How about a "short coding helper"
The long coding helper is extremely useful for making sure coding bits are in the correct state before making changes.
This tool could be used in short-code pages, where, the instructions might say to "subtract 4096" from a number.
In this case, I need to first convert the decimal coding to binary and count the bit values to confirm that the one I'm about to "subtract" is currently set. If not, then subtracting 4096 from a number that has a zero in that position would cause a carry, changing additional bits as well.
This extra work (and the risk involved if one doesn't do it) could be eliminated by applying the LC helper concept to all codings that involve flipping individual bits in words of 8 or more bits. Are there any plans to do this?
This tool could be used in short-code pages, where, the instructions might say to "subtract 4096" from a number.
In this case, I need to first convert the decimal coding to binary and count the bit values to confirm that the one I'm about to "subtract" is currently set. If not, then subtracting 4096 from a number that has a zero in that position would cause a carry, changing additional bits as well.
This extra work (and the risk involved if one doesn't do it) could be eliminated by applying the LC helper concept to all codings that involve flipping individual bits in words of 8 or more bits. Are there any plans to do this?
#2
AudiWorld Senior Member
Join Date: Jun 2004
Location: Magdeburg, Germany
Posts: 1,675
Likes: 0
Received 0 Likes
on
0 Posts
That would also mean sort of guided functions if one want to do it right.
Actually the LCode software/plugin itself already supports that, but we decided not to use it yet since it would require a lot more additional files and that doesn't make sense right now. So currently you have to live with it the way it is right now.
Thread
Thread Starter
Forum
Replies
Last Post