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

  1. ;
  2. ; *** Listing 8-2 ***
  3. ;
  4. ; Copies a byte via AL, with memory addressed with
  5. ; accumulator-specific direct addressing.
  6. ;
  7.     jmp    Skip
  8. ;
  9. SourceValue    db    1
  10. DestValue    db    0
  11. ;
  12. Skip:
  13.     call    ZTimerOn
  14.     rept    1000
  15.     mov    al,[SourceValue]
  16.     mov    [DestValue],al
  17.     endm
  18.     call    ZTimerOff
  19.