Skip to main content
summaryrefslogtreecommitdiffstats
blob: 38974f15712a5f088c46972c8860274b7d0ab99c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*******************************************************************************
 * Copyright (c) 2008, 2009 Ericsson and others.
 * All rights reserved. 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
 * 
 * Contributors:
 *     Ericsson - initial API and implementation
 *******************************************************************************/

package org.eclipse.cdt.dsf.debug.service;

import java.math.BigInteger;

/**
 * Represents an assembly instruction
 * 
 * @since 1.0
 */
public interface IInstruction {

    /**
     * @return the instruction address.
     */
    BigInteger getAdress();
    
    /**
     * @return the function name.
     */
    String getFuntionName();
    
    /**
     * @return the offset of this machine instruction
     */
    long getOffset();

    /**
     * @return the instruction.
     */
    String getInstruction();
  
    /**
    * @return the opcode
    */
    String getOpcode();

    /**
    * @return any arguments to the instruction
    */
    String getArgs();

}

Back to the top