blob: 019ad227e3b61580fe34e2171496ec7fb0f1e45b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 The Regents of the University of California.
* This material was produced under U.S. Government contract W-7405-ENG-36
* for Los Alamos National Laboratory, which is operated by the University
* of California for the U.S. Department of Energy. The U.S. Government has
* rights to use, reproduce, and distribute this software. NEITHER THE
* GOVERNMENT NOR THE UNIVERSITY MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR
* ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is modified
* to produce derivative works, such modified software should be clearly marked,
* so as not to confuse it with the version available from LANL.
*
* Additionally, this program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* LA-CC 04-115
*******************************************************************************/
package org.eclipse.ptp.debug.core.pdi.model;
import java.math.BigInteger;
import org.eclipse.ptp.debug.core.pdi.IPDISessionObject;
/**
* Represents a machine instruction.
* @author clement
*
*/
public interface IPDIInstruction extends IPDISessionObject {
/**
* Returns the Address.
* @return the address.
*/
BigInteger getAdress();
/**
* Returns the function name
* @return the function name.
*/
String getFuntionName();
/**
* Returns the instruction
* @return the instruction.
*/
String getInstruction();
/**
* Returns the opcode
* @return the opcode
*/
String getOpcode();
/**
* Returns any arguments to the argument
* @return any arguments to the argument
*/
String getArgs();
/**
* Returns the instruction's offset.
* @return the offset of this machine instruction
*/
long getOffset();
}