I have the ADCON 1 set to 04 hex and the TRIS A register configured to give bits 4 and 5 as outputs. When I write port a with a BSF instruction I can toggle bit 5 but not bit 4. The Simulator shows it working ok but not the emulator. Anyone have any ideas? I already changed the Bondout chip thinking I had a blown port. As usual these problems happen on deadline and tend to be show stoppers. As always any help or words of wisdom are greatly appreciated. Larry G. Nelson Sr. L.Nelson@ieee.org http://www.ultranet.com/~nr