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/12/22 02:50,
3.145.115.45: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! |
.