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

  1. ;
  2. ; *** Listing 7-19 ***
  3. ;
  4. ; Measures the performance of multiplying by 80 with
  5. ; the MUL instruction
  6. ;
  7.     sub    ax,ax
  8.     call    ZTimerOn
  9.     rept    1000
  10.     mov    ax,10    ;so we have a constant value to
  11.             ; multiply by
  12.     mov    dx,80    ;amount to multiply by
  13.     mul    dx
  14.     endm
  15.     call    ZTimerOff
  16.