home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / zenlib / lst8_2.asm < prev    next >
Assembly Source File  |  1990-02-15  |  282b  |  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.