Esempio n. 1
0
 public static void Jump(i8086.Mnemonic mnemonic, Action proc)
 {
     var labelName = GetMacrosLabel();
     Compiler.Method.AddCommand(new Instruction(mnemonic, Label(labelName)));
     proc();
     CreateLabel(labelName);
 }
Esempio n. 2
0
        public Instruction(i8086.Mnemonic mnemonic, params Argument[] arguments)
        {
            this.Mnemonic = mnemonic;
            this.Arguments = arguments;

            foreach(var argument in Arguments)
            {
                argument.Instruction = this;
            }
        }
Esempio n. 3
0
 public Prefix(i8086.Prefix prefix)
 {
     this.prefix = prefix;
 }