Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] NOP Question

2004-04-29 by Michael Anburaj

Hi Beeno,

#define NOP __asm                    \
{                                    \
        nop;                         \
}

should work for both ADS & SDT.

Cheers,
-Mike.

--- Beeno Rabbit <beenorabbit@...> wrote:
> I am using ADS2.1 compiler (Code Warrior).  I don't
> know how to code "NOP" in the C code.
> Any example for this?
> 
> Beeno
> 
> 
> 
>   ----- Original Message ----- 
>   From: Robert Adsett 
>   To: lpc2000@yahoogroups.com 
>   Sent: Wednesday, April 28, 2004 1:52 AM
>   Subject: Re: [lpc2000] NOP Question
> 
> 
>   At 01:28 AM 4/28/04 +0800, you wrote:
>   >I am a new user of lpc2000 series.  I don't know
>   >how to write "NOP" in the C code.  I have tried
>   >_asm("NOP") and #asm("nop") but failed.
>   Two questions:
>   Which compiler?
>   What do you mean by failed?
> 
>   Robert
> 
>   " 'Freedom' has no meaning of itself.  There are
> always restrictions,
>   be they legal, genetic, or physical.  If you don't
> believe me, try to
>   chew a radio signal. "
> 
>                            Kelvin Throop, III
> 
> 
> 
>
------------------------------------------------------------------------------
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/lpc2000/
>       
>     b.. To unsubscribe from this group, send an
> email to:
>     lpc2000-unsubscribe@yahoogroups.com
>       
>     c.. Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service. 
> 
> 



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.