public PIC(ref RegisterFile memorymap, List<String> Code) { rf = memorymap; HexCode = Code; FLASH = decompile(); setup(); }
public PIC(ref RegisterFile memorymap, List <String> Code) { rf = memorymap; HexCode = Code; FLASH = decompile(); setup(); }
public Instruction(int Bin, int Address, ref RegisterFile regin, ref asmLabel label) { binary = Bin; rf = regin; BaseAddress = Address; Label = label; ASM = asmLookUp(Bin); }
public Instruction(int Bin, int Address, ref RegisterFile regin, String label) { binary = Bin; rf = regin; BaseAddress = Address; Label = new asmLabel(label, BaseAddress); ASM = asmLookUp(Bin); }
/// <summary> /// Constructor for an Instruction with a known memory location. Decompiles /// the binary data into its assembly mnemonic. /// </summary> /// <param name="Bin">14-bit Binary containing the instruction.</param> /// <param name="Address">Memory location of the instruction.</param> public Instruction(int Bin, int Address) { binary = Bin; rf = new RegisterFile(); BaseAddress = Address; Label = new asmLabel("", BaseAddress); ASM = asmLookUp(Bin); }
/// <summary> /// Empty Instruction constructor. Generates a NOP instruction at memory /// address 0x0000; /// </summary> public Instruction() { binary = 0; BaseAddress = 0; rf = new RegisterFile(); Label = new asmLabel("", BaseAddress); ASM = "NOP"; mnemonic = ASM; }
public Instruction(int Bin, int Address, ref RegisterFile regin, ref Stack <int> ptrTOS) { // TODO: Complete member initialization binary = Bin; rf = regin; BaseAddress = Address; ASM = asmLookUp(Bin); stck = ptrTOS; }
public PIC(ref RegisterFile mm, List<picWord> program) { FLASH = program; rf = mm; setup(); }
public picWord(int bin, int addr, ref RegisterFile r) { binary = bin; BaseAddress = addr; rf = r; }
public PIC(ref RegisterFile mm, List <picWord> program) { FLASH = program; rf = mm; setup(); }