>Hello All, > >Writing my first code for a PC16C74A - the data book indicates that >I need to take care of PCLATH<3> when using CALL or GOTO beyond the >2k boundary, and further states that I don't need to worry about it >on RETURN... I've found that to be incorrect, at least when running >MPSIM... is this an MPSIM bug? or a mistake in the data book? > >Thanks! > >Bob > Yeah! I run into the same thing with a 16C63. After returning from the call or goto the PCLATH register remained unchanged, so when another jump or branch was found the thing would jump crazy. I thought at first that I misunderstood the datasheet, but now I see that I am not the only one. If they meant something different I think they (Microchip) should clarify it. Gabriel