In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hello Guenther; Today I read your documantation on the SX-Sim for the first time. It is quite notable how intuitive the program is for someone to be able to use (most) of it without "reading the instructions". Good job! I did note a couple of points that your users should be made aware of, and features you may wish to include in a later version. Firstly I would like to correct a minor documentation error caused by myself when the "secret instructions" were revealed. It is the definition of the $045 instruction labeled "shift OSC pin in/out W" that is in error. It has nothing to do with the W register; Carry (C) is swapped out to the OSC2 pin, and the OSC2 pin is swapped into the carry. This is the method for the SX-Key and the SX chip to communicate. So instead should be undestood to be something like "exchange carry with OSC2 pin", and it would more appropriately be labelled as "OSC2<>C". The other point is that for (only) the SX48/52 chips, on interrupt the MODE register is also saved in a single level shadow register. Alas, that register is not accessible by W so one cannot manually push or pop it. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=8&m=53539#m109333 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)