----- Original Message ----- From: Olin Lathrop To: Sent: Friday, February 07, 2003 3:30 PM Subject: Re: [PIC]: fast emulator > The top of my wishlist for the simulator is to give me external hooks so > that I can supply my own compiled host code to be triggered on particular > events. For example, a couple of times I wished I could capture a write > to TXREG or intercept a read from RCREG, which would then allow me to get > data from a file, drive the PC serial port, or whatever. XCSIM lets you do that and a lot more. A really nice feature is that you can embed high level simulation commands directly in your assembler source and these commands get executed by the simulator when the appropriate instruction is reached. You could add simulation statements to your macros to validate their use. You could add simulation statements to your library functions to validate their inputs and results. I like to use XCSIM to validate algorithms running on a PIC against a reference running on a PC. http://www.pic-simulator.org Regards Sergio Masci -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.