1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-16 07:28:59 +00:00
CLK/InstructionSets/x86/Model.hpp
2023-05-10 16:02:18 -05:00

26 lines
369 B
C++

//
// Model.hpp
// Clock Signal
//
// Created by Thomas Harte on 27/02/2022.
// Copyright © 2022 Thomas Harte. All rights reserved.
//
#ifndef Model_h
#define Model_h
namespace InstructionSet::x86 {
enum class Model {
i8086,
i80186,
i80286,
i80386,
};
static constexpr bool is_32bit(Model model) { return model >= Model::i80386; }
}
#endif /* Model_h */