avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/block causehanginATm


From: Erik Christiansen
Subject: Re: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/block causehanginATmega256x
Date: Thu, 10 Apr 2008 11:01:30 +1000
User-agent: Mutt/1.5.9i

On Wed, Apr 09, 2008 at 01:38:54PM -0600, Stu Bell wrote:
> I'm not sure I should respond to this, as I'm not sure what the asm
> directive ".rept 30000" does.

Having not seen anyone stop to provide an explanation, here's one.

   .rept 30000
   nop
   .endr

merely plonks 30,000 NOPs into the source. Thus the fourth function
would seem to end above 120,000 (instructions), or 240kB, if my glance
at Dimitry's OP was not too cross-eyed.

(It's also useful inside macros, for creating structs in assembler.)

Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]