At 10:27 24/09/98 +0200, you wrote: >> Another question though- the manual _does_ say that MPLAB simulates >> USART interrupts etc, but it doesn't even seem to do that! >[Snip] >> Does this sound familiar to anyone? I'm using MPLAB-SIM, and looking at >> the registers in a watch window. I've used the 16c63.inc file for all >the >> register locations- any ideas? > >They have "solved" that by inventing a method to inject byte-data into the >program. I do not use the simulator myself (95% implementation of the >controller ? you can bet on it that all the important features are in the >last 5%), but it seems to be possible to create a file that contains data >about where, when & what to inject. It's not very well documented, but >that's the way to go. I know about that, and it really doesn't bother me that I have to write a file to manipulate port pins. What is difficult is trying to simulate a USART when it appears that it is not simulated at all- interrupts are not generated and registers are not handled correctly- do you know of a solution to that? Is it my mistake? Nigel -- Nigel Orr Research Associate O ______ Underwater Acoustics Group, o / o \_/( Dept of Electrical and Electronic Engineering (_ < _ ( University of Newcastle Upon Tyne \______/ \(