home *** CD-ROM | disk | FTP | other *** search
/ For Beginners & Professional Hackers / cd.iso / softcrc / libs / zendisk1.arj / LST8-9.ASM < prev    next >
Encoding:
Assembly Source File  |  1990-02-15  |  194 b   |  12 lines

  1. ;
  2. ; *** Listing 8-9 ***
  3. ;
  4. ; The mod-reg-rm immediate-addressing form of CMP with a
  5. ; register as the destination operand.
  6. ;
  7.     call    ZTimerOn
  8.     rept    1000
  9.     cmp    bl,1
  10.     endm
  11.     call    ZTimerOff
  12.