de.michab.simulator
Interface Processor

All Known Implementing Classes:
Cpu6510

public interface Processor

The base interface to be implemented by processor emulation engines.

Author:
Michael G. Binz
See Also:
Debugger

Field Summary
static int BIT_0
          A constant with bit zero set and all other bits unset.
static int BIT_1
          A constant with bit one set and all other bits unset.
static int BIT_2
          A constant with bit two set and all other bits unset.
static int BIT_3
          A constant with bit three set and all other bits unset.
static int BIT_4
          A constant with bit four set and all other bits unset.
static int BIT_5
          A constant with bit five set and all other bits unset.
static int BIT_6
          A constant with bit six set and all other bits unset.
static int BIT_7
          A constant with bit seven set and all other bits unset.
static int BIT_8
          A constant with bit eight set and all other bits unset.
static int DEC_0
           
static int DEC_1
           
static int DEC_2
           
static int DEC_3
           
static int DEC_4
           
static int DEC_5
           
static int DEC_6
           
static int DEC_7
           
static int DEC_8
           
static int DEC_9
           
 
Method Summary
 void setDebugger(Debugger debugger)
          Sets a debugger for this processor.
 

Field Detail

BIT_0

public static final int BIT_0
A constant with bit zero set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0000 0001.

See Also:
Constant Field Values

BIT_1

public static final int BIT_1
A constant with bit one set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0000 0010.

See Also:
Constant Field Values

BIT_2

public static final int BIT_2
A constant with bit two set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0000 0100.

See Also:
Constant Field Values

BIT_3

public static final int BIT_3
A constant with bit three set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0000 1000.

See Also:
Constant Field Values

BIT_4

public static final int BIT_4
A constant with bit four set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0001 0000.

See Also:
Constant Field Values

BIT_5

public static final int BIT_5
A constant with bit five set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0010 0000.

See Also:
Constant Field Values

BIT_6

public static final int BIT_6
A constant with bit six set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 0100 0000.

See Also:
Constant Field Values

BIT_7

public static final int BIT_7
A constant with bit seven set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0000 1000 0000.

See Also:
Constant Field Values

BIT_8

public static final int BIT_8
A constant with bit eight set and all other bits unset. The binary value is 0000 0000 0000 0000 0000 0001 0000 0000.

See Also:
Constant Field Values

DEC_0

public static final int DEC_0
See Also:
Constant Field Values

DEC_1

public static final int DEC_1
See Also:
Constant Field Values

DEC_2

public static final int DEC_2
See Also:
Constant Field Values

DEC_3

public static final int DEC_3
See Also:
Constant Field Values

DEC_4

public static final int DEC_4
See Also:
Constant Field Values

DEC_5

public static final int DEC_5
See Also:
Constant Field Values

DEC_6

public static final int DEC_6
See Also:
Constant Field Values

DEC_7

public static final int DEC_7
See Also:
Constant Field Values

DEC_8

public static final int DEC_8
See Also:
Constant Field Values

DEC_9

public static final int DEC_9
See Also:
Constant Field Values
Method Detail

setDebugger

public void setDebugger(Debugger debugger)
Sets a debugger for this processor. The debugger can be removed by passing a null reference.

Parameters:
debugger - The debugger instance to be used. Set this to null for switching off debugging.