In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ShadowsSoldier wrote: Hello forum persons... If I want to set RA ports bit 0 to 'Hi' and 1-3 to "Lo" this is one way by setting the mode for TRIS: Mov M, #$0f Mov !ra, #$0f Yet I often see no mode access and see other variations: Mov w, #%1110 Mov !ra, w or compound Mov, !ra, #%1110 When is it necessary to access Mode? Thanks, BBAP ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=107816 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)