Describes segment register.
More...
#include <fcml_common.hpp>
Describes segment register.
- Since
- 1.1.0
◆ SegmentSelector() [1/2]
fcml::SegmentSelector::SegmentSelector |
( |
| ) |
|
|
inline |
Creates an empty segment selector instance.
- Since
- 1.1.0
◆ SegmentSelector() [2/2]
fcml::SegmentSelector::SegmentSelector |
( |
const Register & |
segmentSelector, |
|
|
bool |
isDefaultReg = FCML_TRUE |
|
) |
| |
|
inline |
Creates a segment selector instance for given parameters.
- Parameters
-
segmentSelector | A segment register. |
isDefaultReg | Information if the register is the default one. |
- Since
- 1.1.0
◆ getSegmentSelector() [1/2]
const Register& fcml::SegmentSelector::getSegmentSelector |
( |
| ) |
const |
|
inline |
Gets constant segment register associated with the selector.
- Returns
- Constant segment register.
- Since
- 1.1.0
◆ getSegmentSelector() [2/2]
Register& fcml::SegmentSelector::getSegmentSelector |
( |
| ) |
|
|
inline |
Gets segment register associated with the selector.
- Returns
- Segment register.
- Since
- 1.1.0
◆ isDefaultReg()
bool fcml::SegmentSelector::isDefaultReg |
( |
| ) |
const |
|
inline |
Returns true if a register stored in the segment selector is the default one in the context the segment selector is used.
- Returns
- True if register is the default one.
- Since
- 1.1.0
◆ operator Register()
fcml::SegmentSelector::operator Register |
( |
| ) |
const |
|
inline |
Casting operator.
- Returns
- The segment register.
- Since
- 1.1.0
◆ operator!=()
bool fcml::SegmentSelector::operator!= |
( |
const SegmentSelector & |
segmentSelector | ) |
const |
|
inline |
Checks if two segment selector are not equal.
- Parameters
-
segmentSelector | The source segment selector. |
- Returns
- True if they are NOT equal.
- Since
- 1.1.0
◆ operator=()
Copies one segment selector to another.
- Parameters
-
reg | The source segment selector. |
- Returns
- The destination segment selector.
- Since
- 1.1.0
◆ operator==()
bool fcml::SegmentSelector::operator== |
( |
const SegmentSelector & |
segmentSelector | ) |
const |
|
inline |
Checks if two segment selector are equal.
- Parameters
-
segmentSelector | The source segment selector. |
- Returns
- True if they are equal.
- Since
- 1.1.0
◆ seg()
Creates segment selector for the given register.
- Parameters
-
segmentSelector | Segment register. |
isDefaultReg | True if the register is the default one in the given context. |
- Returns
- Prepared segment selector.
- Since
- 1.1.0
◆ setDefaultReg()
void fcml::SegmentSelector::setDefaultReg |
( |
bool |
isDefaultReg | ) |
|
|
inline |
Sets "default" flag for the segment selector.
- Parameters
-
isDefaultReg | True if the register is the default one in the given context. |
- Since
- 1.1.0
◆ setSegmentSelector()
void fcml::SegmentSelector::setSegmentSelector |
( |
const Register & |
segmentSelector | ) |
|
|
inline |
Sets segment register for the selector.
- Parameters
-
segmentSelector | Segment register. |
- Since
- 1.1.0
The documentation for this class was generated from the following file: