In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hi Guenther; It's me again. Filally I seem to be exercizing your simulator quite a bit; it's very helpful for some of the strange things I'm doing. I note that in the register window, the default value for the port bits (inputs at reset) is zero, but when they become configured with pull-ups should they change to a one? It would be wonderful if both, the input values AND pending output values could be shown, so when an output register gets assigned a value by the program, and (some) of the bits are input, and then the program changes them to output (I do this a lot), then the pre-loaded ouput values get presented on the port bits which have now become outputs. Also, there is an incorrect operation when right or left shifting a port register. Shifts (right or left) out of a bit which is configured as an input should have a value of one. You provide a value of zero, and non-adjacent outputs should NOT ripple through the port display window; but adjacent ones should. In other words, at any bit where a port register contains a bit configured as an input, then a (left or right) shiftout from that bit should be a one. That is for between adjacent bits as well as the end bits to the carry. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=7&m=53539#m103549 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)