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/23 16:18,
18.217.224.165: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://techref.massmind.org/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 massmind.org! |
Welcome to techref.massmind.org! |
.