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

  1. ;
  2. ; *** Listing 4-7 ***
  3. ;
  4. ; Measures the performance of repeated MOV AL,0 instructions,
  5. ; which take 4 cycles each according to Intel's official
  6. ; specifications.
  7. ;
  8.     sub    ax,ax
  9.     call    ZTimerOn
  10.     rept    1000
  11.     mov    al,0
  12.     endm
  13.     call    ZTimerOff
  14.