home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / ostatni / sms32 / 99step.asm < prev    next >
Encoding:
Assembly Source File  |  1997-03-15  |  593 b   |  21 lines

  1. ; --------------------------------------------------------------
  2. ; Press  ALT+R  to tun this program.
  3.  
  4. ; Stepper motor.
  5.  
  6. ; This shows how it can be made to rotate.
  7. ; The numbers controlling the motor should be put into a 
  8. ; data table.  By altering the numbers in the table, the 
  9. ; motor can be made to perform complex moves such as might 
  10. ; be found in a printer, plotter or robot.
  11. ; --------------------------------------------------------------
  12. start:
  13.     mov    al,1
  14.     out    05
  15.     mov    al,3
  16.     out    05
  17.     jmp    start
  18.  
  19.     end
  20. ; --------------------------------------------------------------
  21.