home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / ostatni / sms32 / sticli.asm < prev   
Encoding:
Assembly Source File  |  1997-03-15  |  616 b   |  28 lines

  1. ; --------------------------------------------------------------
  2. ; Use CLI and STI to clear and set the interrupt flag.
  3. ; This tests the function of the hardware interrupt 02.
  4. ; --------------------------------------------------------------
  5.     JMP    Start
  6.     DB    40    ; Interrupt vector at address 02
  7. Start:
  8.     nop
  9.     nop
  10.     nop
  11.     cli
  12.     nop
  13.     nop
  14.     nop
  15.     sti
  16.     jmp    Start
  17. ; --------------------------------------------------------------
  18.     org    40
  19.     NOP
  20.     NOP
  21.     NOP
  22.     NOP
  23.     NOP
  24.     IRET
  25. ; --------------------------------------------------------------
  26.     end
  27. ; --------------------------------------------------------------
  28.