private void SetLabelAddressReferences()
{
foreach (ushort key in this.labelReferences.Keys)
{
var labelName = this.labelReferences[key];
if (!this.labelAddressDitionary.ContainsKey(labelName))
{
throw new Exception(string.Format("Unknown label reference '{0}'", labelName));
}
this.machineCode[key] = this.labelAddressDitionary[labelName];
}
}