In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Kurt wrote: oke, i figured out, to create logic 0, mov rc,#$00 put zero in rc register mode $0F mov !rc,#$00 make rc as output, with the value of 1° line to create a logic 1, mode $0F mov !rc,#$FF so i have to replaced all my setb and clrb with the above line according of what i need correct?? can i use movB for switching bewteen Inputs and outputs? ps:the examples are always welcome ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108403#m108723 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)