public void Add(Instruction aReader) { if (aReader is Label || aReader is Comment) { } else if (EmitAsmLabels) { // Only issue label if its executable code. new Label("." + AsmIlIdx.ToString("X2"), "Asm"); mAsmIlIdx++; } mInstructions.Add(aReader); }
public void AddDefault(Instruction aReader) { if (EmitAsmLabels) { if (!(aReader is Label) && !(aReader is Comment)) { // Only issue label if its executable code. new Label("." + AsmIlIdx.ToString("X2"), "Asm"); mAsmIlIdx++; } } mDefInstructions.Add(aReader); }