예제 #1
0
 public RelCommand(uint fileId, int section, RELLink link)
 {
     _moduleID          = fileId;
     _modifiedSectionId = section;
     _targetSectionId   = link._section;
     _command           = (RELCommandType)(int)link._type;
     _addend            = link._value;
 }
예제 #2
0
 public RelCommand(int fileId, int memblock, uint offset, uint refId, RELLink relData)
 {
     _FileId      = fileId;
     _Memblock    = memblock;
     _Offset      = offset;
     _RefId       = (int)refId;
     _RefMemblock = relData._section;
     _Command     = relData._type;
     _Operand     = relData._addEnd;
     _Initialized = false;
 }