|
fcml 1.3.0
|
Describes effective address. More...
#include <fcml_common.hpp>
Public Member Functions | |
| EffectiveAddress () | |
| Creates an empry effective address. | |
| EffectiveAddress (const Integer &displacement) | |
| Creates an effective address instance with the displacement only. | |
| EffectiveAddress (const Register &base) | |
| Creates an effective address instance with the base register only. | |
| EffectiveAddress (const Register &base, const Integer &displacement) | |
| Creates an effective address instance with the base register and displacement only. | |
| EffectiveAddress (const Register &index, fcml_uint8_t scaleFactor, const Integer &displacement) | |
| Creates an effective address instance with the index register, scale factor and displacement. | |
| EffectiveAddress (const Register &base, const Register &index) | |
| Creates an effective address instance with the base register and index register. | |
| EffectiveAddress (const Register &base, const Register &index, fcml_uint8_t scaleFactor) | |
| Creates an effective address instance with the base register, index register and scale factor set. | |
| EffectiveAddress (const Register &base, const Register &index, fcml_uint8_t scaleFactor, const Integer &displacement) | |
| Creates an effective address instance with the base register, index register, scale factor and displacement set. | |
| virtual | ~EffectiveAddress () |
| bool | operator== (const EffectiveAddress &address) const |
| Checks whether two effective addresses are equal or not. | |
| bool | operator!= (const EffectiveAddress &address) const |
| Checks whether two effective addresses are equal or not. | |
| const Register & | getBase () const |
| Gets the constant base register associated with the effective address. | |
| Register & | getBase () |
| Gets the base register associated with the effective address. | |
| EffectiveAddress & | setBase (const Register &base) |
| Sets a new base register for the effective address. | |
| const Integer & | getDisplacement () const |
| Gets the constant displacement associated with the effective address. | |
| Integer & | getDisplacement () |
| Gets the displacement associated with the effective address. | |
| EffectiveAddress & | setDisplacement (const Integer &displacement) |
| Sets a new displacement value for the effective address. | |
| const Register & | getIndex () const |
| Gets the constant index register associated with the effective address. | |
| Register & | getIndex () |
| Gets the index register associated with the effective address. | |
| EffectiveAddress & | setIndex (const Register &index) |
| Sets a new index register for the effective address. | |
| fcml_uint8_t | getScaleFactor () const |
| Gets a scale factor value associated with the effective address. | |
| EffectiveAddress & | setScaleFactor (fcml_uint8_t scaleFactor) |
| Sets a new scale factor for the effective address. | |
Static Public Member Functions | |
| static EffectiveAddress | addr (const Integer &displacement) |
| Factory method which creates an effective address instance with the displacement only. | |
| static EffectiveAddress | addr (const Register &base) |
| Factory method which creates an effective address instance with the base register only. | |
| static EffectiveAddress | addr (const Register &base, const Integer &displacement) |
| Factory method which creates an effective address instance with the base register and displacement. | |
| static EffectiveAddress | addr (const Register &index, fcml_uint8_t scaleFactor, const Integer &displacement) |
| Factory method which creates an effective address instance with the index register, scale factor and displacement. | |
| static EffectiveAddress | addr (const Register &base, const Register &index) |
| Factory method which creates an effective address instance with the base register and index register. | |
| static EffectiveAddress | addr (const Register &base, const Register &index, fcml_uint8_t scaleFactor) |
| Factory method which creates an effective address instance with the base register, index register and scale factor. | |
| static EffectiveAddress | addr (const Register &base, const Register &index, fcml_uint8_t scaleFactor, const Integer &displacement) |
| Factory method which creates an effective address instance with the base register, index register, scale factor and displacement. | |
Describes effective address.
It's a counterpart to the fcml_st_effective_address structure.
|
inline |
Creates an empry effective address.
|
inline |
Creates an effective address instance with the displacement only.
| displacement | The displacement value. |
|
inline |
Creates an effective address instance with the base register only.
| base | The base register. |
|
inline |
Creates an effective address instance with the base register and displacement only.
| base | The base register. |
| displacement | The displacement value. |
|
inline |
Creates an effective address instance with the index register, scale factor and displacement.
| index | The index register. |
| scaleFactor | The scale factor value. |
| displacement | The displacement. |
Creates an effective address instance with the base register and index register.
| base | The base register. |
| index | The index register. |
|
inline |
Creates an effective address instance with the base register, index register and scale factor set.
| base | The base register. |
| index | THe index register. |
| scaleFactor | The scale factor. |
|
inline |
Creates an effective address instance with the base register, index register, scale factor and displacement set.
| base | The base register. |
| index | The index register. |
| scaleFactor | The scale factor value. |
| displacement | The displacement. |
|
inlinevirtual |
|
inlinestatic |
Factory method which creates an effective address instance with the displacement only.
| displacement | The displacement value. |
|
inlinestatic |
Factory method which creates an effective address instance with the base register only.
| base | The base register. |
|
inlinestatic |
Factory method which creates an effective address instance with the base register and displacement.
| base | The base register. |
| displacement | The displacement value. |
|
inlinestatic |
Factory method which creates an effective address instance with the base register and index register.
| base | The base register. |
| index | The index register. |
|
inlinestatic |
Factory method which creates an effective address instance with the base register, index register and scale factor.
| base | The base register. |
| index | The index register. |
| scaleFactor | The scale factor. |
|
inlinestatic |
Factory method which creates an effective address instance with the base register, index register, scale factor and displacement.
| base | The base register. |
| index | The index register. |
| scaleFactor | The scale factor. |
| displacement | The displacement value. |
|
inlinestatic |
Factory method which creates an effective address instance with the index register, scale factor and displacement.
| index | The index register. |
| scaleFactor | The scale factor. |
| displacement | The displacement value. |
|
inline |
Gets the base register associated with the effective address.
|
inline |
Gets the constant base register associated with the effective address.
|
inline |
Gets the displacement associated with the effective address.
|
inline |
Gets the constant displacement associated with the effective address.
|
inline |
Gets the index register associated with the effective address.
|
inline |
Gets the constant index register associated with the effective address.
|
inline |
Gets a scale factor value associated with the effective address.
|
inline |
Checks whether two effective addresses are equal or not.
| address | The source address to be compared. |
|
inline |
Checks whether two effective addresses are equal or not.
| address | The source address to be compared. |
|
inline |
Sets a new base register for the effective address.
| base | The new base register to be set. |
|
inline |
Sets a new displacement value for the effective address.
| displacement | The new displacement for effective address. |
|
inline |
Sets a new index register for the effective address.
| index | The new index register for the effective address. |
|
inline |
Sets a new scale factor for the effective address.
| scaleFactor | The new scale factor value. |