Example #1
0
 internal void SetLabelOffset(LabelTable lblTable, MemoryOffset offset)
 {
     if (m_label != null)
     {
         LabelDefinition labelDef = lblTable.GetDefinitionFor(m_label);
         labelDef.SetRelOffset(offset);
     }
 }
Example #2
0
 private LabelDefinition GetExecStartLabelDefinition(LabelTable lblTable)
 {
     try
     {
         return(lblTable.GetDefinitionFor(m_execStartLabel));
     }
     catch (Exception innerEx)
     {
         String message = String.Format(
             Resources.MSG_CouldNotGetExecStartLabelDefinition, m_execStartLabel);
         throw new Casl2SimulatorException(message, innerEx);
     }
 }