set_bit: movf bitmask,w iorwf indf,f btfsc new_state,0 xorwf indf,f clrc rlf bitmask,w rlf bitmask,f btfsc bitmask,0 incf fsr,f 9 words/cycles in assembly,
also:
file: /Techref/microchip/math/bit/bigshift.htm, 1KB, , updated: 2005/12/16 10:42, local time: 2024/11/17 10:52,
18.116.80.217:LOG IN
|
©2024 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? <A HREF="http://massmind.ecomorder.com/techref/microchip/math/bit/bigshift.htm"> PIC Microcontoller Bit Math Method Shifting long strings of bits</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.