2023-10-06 17:22:35 +00:00
|
|
|
//
|
|
|
|
// Interrupts.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 06/10/2023.
|
|
|
|
// Copyright © 2023 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2023-10-07 17:31:35 +00:00
|
|
|
#ifndef InstructionSets_x86_Interrupts_h
|
|
|
|
#define InstructionSets_x86_Interrupts_h
|
2023-10-06 17:22:35 +00:00
|
|
|
|
|
|
|
namespace InstructionSet::x86 {
|
|
|
|
|
|
|
|
enum Interrupt {
|
2023-10-10 14:34:18 +00:00
|
|
|
DivideError = 0,
|
|
|
|
SingleStep = 1,
|
|
|
|
NMI = 2,
|
|
|
|
OneByte = 3,
|
|
|
|
OnOverflow = 4,
|
2023-10-06 17:22:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-10-07 17:31:35 +00:00
|
|
|
#endif /* InstructionSets_x86_Interrupts_h */
|