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/22 19:53,
3.144.244.244: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://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 ecomorder.com! |
.