OpenASIP
2.0
|
#include <TerminalAddress.hh>
Private Member Functions | |
TerminalAddress & | operator= (const TerminalAddress &) |
Assignment not allowed. More... | |
Private Attributes | |
const TTAMachine::AddressSpace & | space_ |
Address space of the address. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TTAProgram::TerminalImmediate | |
SimValue | value_ |
Value of the inline immediate. More... | |
Represents an inline immediate that refers to a data address.
Definition at line 48 of file TerminalAddress.hh.
TTAProgram::TerminalAddress::TerminalAddress | ( | SimValue | value, |
const TTAMachine::AddressSpace & | space | ||
) |
Constructor. Creates a terminal address from a given immediate value and a reference to an address space.
value | Value of the address of the location. |
space | Address space of the address. |
Definition at line 47 of file TerminalAddress.cc.
Referenced by copy().
|
virtual |
|
virtual |
Returns the address carried by this terminal.
WrongSubclass | never. |
Reimplemented from TTAProgram::Terminal.
Definition at line 77 of file TerminalAddress.cc.
References space_, SimValue::unsignedValue(), and TTAProgram::TerminalImmediate::value_.
Referenced by equals().
|
virtual |
Creates an exact copy of the terminal and returns it.
Reimplemented from TTAProgram::TerminalImmediate.
Definition at line 87 of file TerminalAddress.cc.
References space_, TerminalAddress(), and TTAProgram::TerminalImmediate::value().
|
virtual |
Checks if terminals are equal.
other | Terminal to compare. |
Reimplemented from TTAProgram::TerminalImmediate.
Definition at line 98 of file TerminalAddress.cc.
References address(), TTAProgram::Terminal::address(), TTAProgram::Terminal::isAddress(), TTAProgram::Address::location(), TTAMachine::Component::name(), and TTAProgram::Address::space().
|
virtual |
Tells whether the terminal is an inline immediate that refers to an address.
Reimplemented from TTAProgram::Terminal.
Definition at line 66 of file TerminalAddress.cc.
|
private |
Assignment not allowed.
|
private |
Address space of the address.
Definition at line 61 of file TerminalAddress.hh.