In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote: Ok, I USED to know how to do this back in my 6502 days but I get very little asm time these days and I'm rusty..lol Anyway, here is what I am trying to do. I need to send a 16-bit address (15-bit, actually) to two ports. I would like to do something like: [code] SET(512) // now, RB = %11111111 and RC = %00000001 SET(16788) // now, RB = %0010100 and RC = %10000011 etc... [/code] Any clues where I can start? Thanks! cbmeeks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=89595 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)