interrupt_loop.S 183 B

1234567891011
  1. /* https://github.com/cirosantilli/x86-bare-metal-examples#interrupts */
  2. #include "common.h"
  3. BEGIN
  4. CLEAR
  5. movw $handler, 0x00
  6. mov %cs, 0x02
  7. int $0
  8. handler:
  9. int $0