fcml  1.2.2
Public Types | Public Member Functions | List of all members
fcml::OperandDetails Class Reference

Operand details. More...

#include <fcml_disassembler.hpp>

Public Types

enum  AccessMode {
  AM_ACCESS_MODE_UNDEFINED = FCML_AM_ACCESS_MODE_UNDEFINED,
  AM_READ = FCML_AM_READ,
  AM_WRITE = FCML_AM_WRITE,
  AM_READ_WRITE = AM_READ | AM_WRITE
}
 

Public Member Functions

 OperandDetails ()
 Creates default operand details with an undefined access mode. More...
 
 OperandDetails (AccessMode accessMode)
 Creates operand details for given access mode. More...
 
AccessMode getAccessMode () const
 Gets access mode for the operand. More...
 
void setAccessMode (AccessMode accessMode)
 Sets an access mode for the operand. More...
 

Detailed Description

Operand details.

Since
1.1.0

Member Enumeration Documentation

◆ AccessMode

Since
1.1.0
Enumerator
AM_ACCESS_MODE_UNDEFINED 

Undefined mode.

AM_READ 

Operand is read by instruction.

AM_WRITE 

Operand is set by instruction.

AM_READ_WRITE 

Operand is read but can be also set.

Constructor & Destructor Documentation

◆ OperandDetails() [1/2]

fcml::OperandDetails::OperandDetails ( )
inline

Creates default operand details with an undefined access mode.

Since
1.1.0

◆ OperandDetails() [2/2]

fcml::OperandDetails::OperandDetails ( AccessMode  accessMode)
inline

Creates operand details for given access mode.

Parameters
accessModeAccess mode.
Since
1.1.0

Member Function Documentation

◆ getAccessMode()

AccessMode fcml::OperandDetails::getAccessMode ( ) const
inline

Gets access mode for the operand.

Returns
Access mode.
Since
1.1.0

◆ setAccessMode()

void fcml::OperandDetails::setAccessMode ( AccessMode  accessMode)
inline

Sets an access mode for the operand.

Parameters
accessModeThe access mode for the operand.
Since
1.1.0

The documentation for this class was generated from the following file: