Interrupt instructions test bench

From Zet
Jump to: navigation, search

This example tests these instructions:

  1. int
  2. int3
  3. into
  4. iret

Code

<embed_code>06_interrupt.s</embed_code>

Results

Memory contents at the end should be:

0x00:  0x0100  0x0302  0x0504  0xXX06  0x0cd7  0x0ed7  0x4002  0x04ff
0x10:  0x1000  0xf000  0xXXXX  0xXXXX  0xXXXX  0xXXXX  0xXXXX  0xXXXX