www.delorie.com/gnu/docs/binutils/as_131.html   search  
 
Buy GNU books!


Using as

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.63 .rept count

Repeat the sequence of lines between the .rept directive and the next .endr directive count times.

For example, assembling

 
        .rept   3
        .long   0
        .endr

is equivalent to assembling

 
        .long   0
        .long   0
        .long   0


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003