libmicroemu 0.2.0
ARM Microcontroller Emulator Library
Loading...
Searching...
No Matches
instr_exec_results.h
1#pragma once
3#include "libmicroemu/types.h"
4
5namespace libmicroemu::internal {
6
7using InstrExecFlagsSet = u8;
8
9enum class InstrExecFlags : InstrExecFlagsSet {
10 kBkptReqExit = 1U << 0U,
11 kSvcReqExit = 1U << 1U,
12 kBkptReqErrorExit = 1U << 2U,
13 kSvcReqErrorExit = 1U << 3U
14};
15
16static constexpr InstrExecFlagsSet kExitFlagsMask =
17 static_cast<InstrExecFlagsSet>(InstrExecFlags::kSvcReqExit) |
18 static_cast<InstrExecFlagsSet>(InstrExecFlags::kBkptReqExit) |
19 static_cast<InstrExecFlagsSet>(InstrExecFlags::kBkptReqErrorExit) |
20 static_cast<InstrExecFlagsSet>(InstrExecFlags::kSvcReqErrorExit);
21
22static constexpr InstrExecFlagsSet kNoInstrExecFlags = 0U;
24 InstrExecFlagsSet flags;
25};
26
27} // namespace libmicroemu::internal
The libmicroemu::internal namespace contains all classes and functions of libmicroemu which are priva...
Definition bkpt_flags.h:6
Contains the Result class which is used to return the result of a function.
Definition instr_exec_results.h:23