public static void Jump(i8086.Mnemonic mnemonic, Action proc) { var labelName = GetMacrosLabel(); Compiler.Method.AddCommand(new Instruction(mnemonic, Label(labelName))); proc(); CreateLabel(labelName); }
public Instruction(i8086.Mnemonic mnemonic, params Argument[] arguments) { this.Mnemonic = mnemonic; this.Arguments = arguments; foreach(var argument in Arguments) { argument.Instruction = this; } }
public Prefix(i8086.Prefix prefix) { this.prefix = prefix; }