(16C) show which bits are set in a number
|
03-07-2019, 09:45 AM
Post: #14
|
|||
|
|||
RE: (16C) show which bits are set in a number
In fact your program will test all the bits beginning with LSB as well and stops when all bits set where found. This is the same behaviour as in my program.
Code: 013- 43 48 : x<>0 // are there any bits left? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)