Sign in to follow this  
Followers 0
Div_by_zero

addressing individual bits of a word in Do-More

5 posts in this topic

Is it possible to address the individual bits of a word in Do-More? For example, V0.0, V0.1, V0.2, .... V0.15? Thanks.

Share this post


Link to post
Share on other sites
D0:0, D0:1, etc

Share this post


Link to post
Share on other sites
Ah, perfect. That one was hidden well! I was used to the decimals. Thanks, TWC. Hey, while you're "here", and so that I don't have to start another thread, I was wondering if there is a trick to inserting more memory addresses in the Documentation Editor. Say I need to add more C bits to a grouping of bits that's used for a particular part of the program, for example C0 through C100 are used, but I want to re-purpose C10 to C19 by expanding and pushing the group up to C110. Right now the only way I know how to do it is to "Add" C101 through C110, then cut-and-paste C10 through C100 into C20 through C110. ...But of course this then messes up my code and I have to manually go in and fix everything. There must be a MUCH smarter way to do this, correct? Thanks.

Share this post


Link to post
Share on other sites
Right click on the documentation editor and select "Add Record". Pick "Range mode" and fill in the blanks. For your first question look up "casting" in the help file. it is a very powerful tool.

Share this post


Link to post
Share on other sites
In Edit mode use 'Search' - 'Replace' to move the designated range of 'C' bits from one area to another. (The areas may overlap. The Search-Replace knows what it is doing.) You will have an option to Move/Copy/Leave the documentation. You will want to choose 'Move' so that the documentation follows the bits. When done you will then be able to use the vacated area.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0