home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / ASSEMBLY / ZENDISK1.ZIP / LST9-10.ASM < prev    next >
Encoding:
Assembly Source File  |  1990-02-15  |  242 b   |  14 lines

  1. ;
  2. ; *** Listing 9-10 ***
  3. ;
  4. ; Times the performance of an 8-bit register DEC.
  5. ;
  6.     mov    dl,100
  7.     call    ZTimerOn
  8. TestLoop:
  9.     dec    dl    ;8-bit register DEC
  10.             ; (2 bytes long, uses mod-reg-rm
  11.             ; form of DEC)
  12.     jnz    TestLoop
  13.     call    ZTimerOff
  14.