|
libmicroemu 0.2.0
ARM Microcontroller Emulator Library
|
Cpu states class. More...
#include <cpu_states.h>
Public Member Functions | |
| CpuStates () | |
| Constructs a CpuStates object. | |
| ~CpuStates () noexcept=default | |
| Destructor. | |
| CpuStates (CpuStates &r_src) noexcept=default | |
| Copy constructor for CpuStates. | |
| CpuStates (CpuStates &&r_src) noexcept=default | |
| Move constructor for CpuStates. | |
| auto & | GetRegisters () noexcept |
| Get a reference on the raw register array. | |
| const auto & | GetRegisters () const noexcept |
| Get a const reference on the raw register array. | |
| auto & | GetSpecialRegisters () noexcept |
| Get a reference on the raw special register array. | |
| const auto & | GetSpecialRegisters () const noexcept |
| Get a const reference on the raw special register array. | |
| auto & | GetExceptionStates () noexcept |
| Get a reference on the exception states. | |
| const auto & | GetExceptionStates () const noexcept |
| Get a const reference on the exception states. | |
Cpu states class.
This class holds all the states necessary for emulating a central processing unit (CPU). Mainly these are the registers, special registers and exception states.
|
defaultnoexcept |
Copy constructor for CpuStates.
| r_src | the object to be copied |
|
defaultnoexcept |
Move constructor for CpuStates.
| r_src | the object to be moved |
|
inlinenoexcept |
Get a const reference on the exception states.
This function returns a const reference to the exception states.
|
inlinenoexcept |
Get a reference on the exception states.
This function returns a reference to the exception states.
|
inlinenoexcept |
Get a const reference on the raw register array.
This function returns a const reference to the raw register array.
|
inlinenoexcept |
Get a reference on the raw register array.
This function returns a reference to the raw register array.
|
inlinenoexcept |
Get a const reference on the raw special register array.
This function returns a const reference to the raw special register array.
|
inlinenoexcept |
Get a reference on the raw special register array.
This function returns a reference to the raw special register array.