Пример #1
0
 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);
 }
Пример #2
0
 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);
 }