Esempio n. 1
0
        public Instruction(uint address, uint code)
        {
            this.Address = address;
            this.Code    = code;

            InstructionEntry instructionEntry = InstructionTables.GetInstruction(code);

            Debug.Assert(instructionEntry != null);
            Debug.Assert(instructionEntry.Formatter != null);

            bool formatted = instructionEntry.Formatter(address, code, instructionEntry, out this.Opcode, out this.Operands);

            Debug.Assert(formatted == true);
        }
Esempio n. 2
0
		public TableReference( InstructionTables.InstructionEncoding reference )
		{
			this.Reference = reference;
		}