momiji
m68k emulator infrastructure
About Source codeTable of contents
momiji::Register<IntType, PhantomTag>
Defined in header <momiji/System.h>
template < typename IntType, typename PhantomTag >
struct Register
Generic class describing a register with its value.
Typedefs
Type | Definition | Notes |
---|---|---|
value_type | IntType |
A typedef of the first template parameter, for usage in generic code. |
Methods
as<To> |
Reinterpret casts the address of the stored value to an arbitrary pointer of type “To”. |
ptr |
Returns a pointer to the stored value. |
raw |
Returns the raw value stored in the register. |