To get bit N (0=LSB, 7=MSB) from a byte B you could use (typed from my head, so errors are included for free):
function bit_n_from_b( byte in n, byte in b ) return bit is var byte x var bit r at x : 0 x = b >> n return r end function
| file: /techref/piclist/jal/bitnofbyte-wvo.htm, 1KB, , updated: 2001/11/7 06:38, local time: 2008/12/2 19:44,
38.103.63.55:LOG IN
|
| ©2008 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.sxlist.com/techref/piclist/jal/bitnofbyte-wvo.htm"> Get bit N (0=LSB, 7=MSB) from a byte B</A> |
| Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
|
.