From: Richard E. <ri...@id...> - 2010-07-21 17:02:56
|
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" <fri...@we...> To: <sdc...@li...> 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 > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |