#include <Instruction.h>
Inheritance diagram for Operand:
Public Member Functions | |
~Operand () | |
bool | isInteger () |
bool | isGPRegister () |
void | print () |
int32_t | getIconst () |
uint32_t | getRegister () |
Static Public Member Functions | |
Operand * | initGPRegisterOperands () |
Static Public Attributes | |
Operand * | GPRegisterOperands = initGPRegisterOperands() |
Operand | IntegerOperand0 = IntegerOperand(0) |
Protected Member Functions | |
Operand (uint32_t flgs) | |
Operand () | |
Protected Attributes | |
uint32_t | flags |
union { | |
int32_t iconst | |
uint32_t regist | |
} | value |
Static Protected Attributes | |
const uint32_t | IntegerType = 0x1 |
const uint32_t | GPRegisterType = 0x2 |
|
Definition at line 19 of file Instruction.h. References flags. |
|
Definition at line 20 of file Instruction.h. References flags. |
|
Definition at line 23 of file Instruction.h. |
|
Definition at line 33 of file Instruction.h. References value. Referenced by CacheSimulator::byteCountForInst(), and CacheSimulator::generateCodeForInst(). |
|
Definition at line 34 of file Instruction.h. References value. Referenced by CacheSimulator::byteCountForInst(), and CacheSimulator::generateCodeForInst(). |
|
Definition at line 18 of file Instruction.C. References NUM_OF_GPR_REGS. |
|
Definition at line 25 of file Instruction.h. References flags, and GPRegisterType. Referenced by CacheSimulator::byteCountForInst(), CacheSimulator::generateCodeForInst(), and print(). |
|
Definition at line 24 of file Instruction.h. References flags, and IntegerType. Referenced by CacheSimulator::byteCountForInst(), CacheSimulator::generateCodeForInst(), and print(). |
|
Definition at line 26 of file Instruction.h. References isGPRegister(), isInteger(), PRINT_INFOR, and value. Referenced by MemoryOperation::print(). |
|
Definition at line 13 of file Instruction.h. Referenced by isGPRegister(), isInteger(), and Operand(). |
|
Definition at line 16 of file Instruction.C. |
|
Definition at line 11 of file Instruction.h. Referenced by isGPRegister(). |
|
Definition at line 15 of file Instruction.h. |
|
Later we can make it pointer depending on what the sub classes will do * Definition at line 14 of file Instruction.C. |
|
Definition at line 10 of file Instruction.h. Referenced by isInteger(). |
|
Definition at line 16 of file Instruction.h. |
|
Referenced by getIconst(), getRegister(), and print(). |