Esempio n. 1
0
        public void Assemble(string fileName, Assembler asm)
        {
            eventListener.ShowStatus("Assembling program.");
            var program = loader.AssembleExecutable(fileName, asm, null);

            Project = CreateDefaultProject(fileName, program);
            eventListener.ShowStatus("Assembled program.");
        }
Esempio n. 2
0
        public void Assemble(string fileName, IAssembler asm, IPlatform platform)
        {
            eventListener.ShowStatus("Assembling program.");
            var program = loader.AssembleExecutable(fileName, asm, platform, null);

            Project = AddProgramToProject(fileName, program);
            eventListener.ShowStatus("Assembled program.");
        }
Esempio n. 3
0
 public Program VisitAssemblerFile(AssemblerFile_v3 sAsmFile)
 {
     return(loader.AssembleExecutable(sAsmFile.Filename, sAsmFile.Assembler, null));
 }