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/blockcausehanginATme


From: Stu Bell
Subject: RE: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/blockcausehanginATmega256x
Date: Thu, 10 Apr 2008 08:06:29 -0600

Thanks for the explanation, Erik! I'm okay with the instruction
mnemonics, but I (practically) never use the directives.

Best regards, 

Stu Bell 
DataPlay (DPHI, Inc.) 


-----Original Message-----

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]