home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / zenlib / lst4_10.asm < prev    next >
Assembly Source File  |  1990-02-15  |  267b  |  13 lines

  1. ;
  2. ; *** Listing 4-10 ***
  3. ;
  4. ; Measures the performance of repeated SHR instructions,
  5. ; which empty the prefetch queue, to demonstrate the
  6. ; worst-case impact of DRAM refresh on code performance.
  7. ;
  8.     call    ZTimerOn
  9.     rept    1000
  10.     shr    ax,1
  11.     endm
  12.     call    ZTimerOff
  13.