mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-11 08:23:43 +00:00
40 lines
609 B
C++
40 lines
609 B
C++
|
//
|
||
|
// Operation.hpp
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 16/02/2024.
|
||
|
// Copyright © 2024 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
namespace InstructionSet::ARM {
|
||
|
|
||
|
enum class Operation {
|
||
|
AND, EOR, SUB, RSB,
|
||
|
ADD, ADC, SBC, RSC,
|
||
|
TST, TEQ, CMP, CMN,
|
||
|
ORR, MOV, BIC, MVN,
|
||
|
|
||
|
Branch, BranchWithLink,
|
||
|
Multiply, MultiplyWithAccumulate,
|
||
|
|
||
|
SingleDataTransfer,
|
||
|
BlockDataTransfer,
|
||
|
SoftwareInterrupt,
|
||
|
|
||
|
CoprocessorDataOperationOrRegisterTransfer,
|
||
|
CoprocessorDataTransfer,
|
||
|
|
||
|
Undefined,
|
||
|
};
|
||
|
|
||
|
enum class Condition {
|
||
|
EQ, NE, CS, CC,
|
||
|
MI, PL, VS, VC,
|
||
|
HI, LS, GE, LT,
|
||
|
GT, LE, AL, NV,
|
||
|
};
|
||
|
|
||
|
}
|