In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lordsteve wrote: [code] mov w, #4 mov loopCount, w mov w, #0x11 mov mask, w :loop clr indf clrb carry mov w, r0 and w, mask or indf, w rl indf mov w, r1 and w, mask or indf, w rl indf mov w, r2 and w, mask or indf, w rl indf mov w, r3 and w, mask or indf, w rl indf inc fsr rl mask decsz loopCount jmp :loop I'm sure someone will correct me if that code is wrong.[/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=95439#m95538 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)