예제 #1
0
파일: Loops.cs 프로젝트: Romfos/Netasm-old
 public static void Jump(i8086.Mnemonic mnemonic, Action proc)
 {
     var labelName = GetMacrosLabel();
     Compiler.Method.AddCommand(new Instruction(mnemonic, Label(labelName)));
     proc();
     CreateLabel(labelName);
 }
예제 #2
0
        public Instruction(i8086.Mnemonic mnemonic, params Argument[] arguments)
        {
            this.Mnemonic = mnemonic;
            this.Arguments = arguments;

            foreach(var argument in Arguments)
            {
                argument.Instruction = this;
            }
        }
예제 #3
0
파일: Prefix.cs 프로젝트: Romfos/Netasm-old
 public Prefix(i8086.Prefix prefix)
 {
     this.prefix = prefix;
 }