home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / ASSEMBLY / ZENDISK1.ZIP / LST4-7.ASM < prev    next >
Encoding:
Assembly Source File  |  1990-02-15  |  248 b   |  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.