mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-12 13:55:55 +00:00
28 lines
352 B
C++
28 lines
352 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 {
|
||
|
namespace x86 {
|
||
|
|
||
|
enum class Model {
|
||
|
i8086,
|
||
|
i80186,
|
||
|
i80286,
|
||
|
i80386,
|
||
|
};
|
||
|
|
||
|
#define is_32bit(model) (model >= Model::i80386)
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* Model_h */
|