1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00
Files
CLK/InstructionSets/x86/Mode.hpp
T
2025-05-17 23:08:07 -04:00

24 lines
382 B
C++

//
// Mode.hpp
// Clock Signal
//
// Created by Thomas Harte on 22/03/2025.
// Copyright © 2025 Thomas Harte. All rights reserved.
//
#pragma once
namespace InstructionSet::x86 {
enum class Mode {
Real,
Protected286,
};
constexpr bool is_real(const Mode mode) {
// Note to future self: this will include virtual 8086 mode in the future.
return mode == Mode::Real;
}
}