home *** CD-ROM | disk | FTP | other *** search
- ;
- ; *** Listing 7-19 ***
- ;
- ; Measures the performance of multiplying by 80 with
- ; the MUL instruction
- ;
- sub ax,ax
- call ZTimerOn
- rept 1000
- mov ax,10 ;so we have a constant value to
- ; multiply by
- mov dx,80 ;amount to multiply by
- mul dx
- endm
- call ZTimerOff