From Dmitry Kiryashov [zews at AHA.RU] a) abcd.efgh -> bcda.fghe rlf X,W rlf X,F ;bcdefgha swapf X,W ;...a...e xorwf X,W andlw 0x11 ;...<a^e>...<e^a> xorwf X,F ;bcdafghe b) abcd.efgh -> dabc.hefg rrf X,W rrf X,F ;habcdefg swapf X,W ;d...h... xorwf X,W andlw 0x88 ;<d^h>...<h^d>... xorwf X,F ;dabchefg
file: /Techref/scenix/lib/math/bit/rotnib.htm, 0KB, , updated: 2000/4/20 14:02, local time: 2024/8/17 02:13,
18.219.182.48: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/scenix/lib/math/bit/rotnib.htm"> scenix lib math bit rotnib</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.