Hello Richard, Yes, so long as you ensure the DPTR is not touched in the DPTR. That means no function calls and no xdata or code access. Not even C-support functions for generic pointer access or integer multiplication. I recommend to carefully inspect the generated assembler for your ISR's.
Maarten > Yes, I know this has been a long time coming, but ... why is it important to > disable interrupts when using the "auto DPTR stuff", > autoincrement/autodecrement/autotoggling? It would appear to me that such > processes would be entirely and safely interruptible so long as one ensured > the DPTR were not disturbed during ISR's. Maybe I've overlooked something? > > regards, > > Richard Erlacher > > > > ----- Original Message ----- > From: "Frieder Ferlemann" <frieder.ferlem...@web.de> > To: <sdcc-user@lists.sourceforge.net> > Sent: Monday, June 27, 2005 11:09 AM > Subject: Re: [Sdcc-user] Ultra-High-speed Maxim/Dallas parts > > > > Hi, > > > > Richard Erlacher wrote: > >> Has anyone successfully used SDCC in combination with the Maxim/Dallas > >> 89C4x0 types? > > > > There are definitions for the DS89C420 in the combined include file > > mcs51reg.h > > (since Nov 9, 2000). The file is part of the distribution. A direct link: > > http://cvs.sourceforge.net/viewcvs.py/sdcc/sdcc/device/include/mcs51/mcs51reg.h?view=markup > > > > > Does it actually utilize the second data pointer, and/or > >> other features of that device series, e.g. extended SFR set? You'd > > > > It's supported as a plain 8051 with no fancy features. > > > > If you want to make use of dptr toggle/increment tricks > > you could use inline assembly. This is comparatively easy > > with SDCC. > > Remember to disable interrupts when using any of the > > "auto DPTR stuff" autoincrement/autodecrement/autotoggling. > > > > Greetings, > > Frieder ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user