Industry Online Support
Technical Forum
6/28/2011 9:45 PM | |
Joined: 9/27/2006 Last visit: 9/16/2024 Posts: 12282 Rating: (2683)
|
Hello PowerTags; You should look at the following thread, especially Smiffy's excellent work. Even experienced programmers are often surprised at the intricacy of code required for bit twiddling applications such as the one you intend to do. Smiffy'slast post (on page 2)proposes a CASE instruction (in SCL) to test which bit is set in a word, so it could give you some indications on how to run your application. Of course if you have many consecutive words to test then indirect addressing is a must, so study his preceding replies. /tf/WW/en/Posts/44542 Hope this helps, Daniel Chartier |
Follow us on