Emulator.Components
Interface DataComponent
- All Known Implementing Classes:
- AddressRegister, ALU, Bus, DataRegister, Flag, IORegister, Memory, Register
public interface DataComponent
**********************
Created By: Yuval Tzur
Date: 15/12/12
Time: 17:40
Description: This class defines the interface of all the Components that store data.
A component is defined as a data component if it can hold values.
***********************
Method Summary |
void |
and()
|
boolean |
changed()
|
void |
clear()
|
void |
complement()
|
void |
complement0()
|
void |
complement1()
|
void |
disableWrite()
|
void |
disableWrite0()
|
void |
disableWrite1()
|
void |
divide()
|
void |
enableWrite()
|
void |
enableWrite0()
|
void |
enableWrite1()
|
void |
equal()
|
boolean |
evaluateAsBoolean()
|
boolean |
evaluateAsBoolean(int bitIndex)
|
boolean |
evaluateAsBoolean(int bitStart,
int bitEnd)
|
int |
get_decimal()
|
int |
get_decimal(int bitIndex)
|
int |
get_decimal(int bitStart,
int bitEnd)
|
DataComponent |
get_input0()
|
DataComponent |
get_input1()
|
DataComponent |
get_output()
|
Value |
get_row(int address)
|
Value |
get_value()
|
Value |
get_value(int index)
|
Value |
get_value(int start,
int end)
|
void |
greaterOrEqual()
|
void |
greaterThan()
|
void |
increment()
|
boolean |
isWritable()
|
boolean |
isWritable0()
|
boolean |
isWritable1()
|
void |
lessOrEqual()
|
void |
lessThan()
|
void |
modulo()
|
void |
multiply()
|
void |
notEqual()
|
void |
or()
|
void |
passThrough0()
|
void |
passThrough1()
|
void |
set_value(int start,
int end,
Value value)
|
void |
set_value(int index,
Value value)
|
void |
set_value(Value value)
|
void |
set()
|
void |
shiftLeft0(int numOfBits,
boolean filler)
|
void |
shiftLeft1(int numOfBits,
boolean filler)
|
void |
shiftRight0(int numOfBits,
boolean filler)
|
void |
shiftRight1(int numOfBits,
boolean filler)
|
void |
subtract()
|
void |
sum()
|
void |
update()
|
void |
xor()
|
get_input0
DataComponent get_input0()
get_input1
DataComponent get_input1()
get_output
DataComponent get_output()
evaluateAsBoolean
boolean evaluateAsBoolean()
evaluateAsBoolean
boolean evaluateAsBoolean(int bitIndex)
evaluateAsBoolean
boolean evaluateAsBoolean(int bitStart,
int bitEnd)
isWritable
boolean isWritable()
isWritable0
boolean isWritable0()
isWritable1
boolean isWritable1()
changed
boolean changed()
get_value
Value get_value()
get_value
Value get_value(int index)
get_value
Value get_value(int start,
int end)
get_row
Value get_row(int address)
set_value
void set_value(Value value)
set_value
void set_value(int index,
Value value)
set_value
void set_value(int start,
int end,
Value value)
enableWrite
void enableWrite()
enableWrite0
void enableWrite0()
enableWrite1
void enableWrite1()
disableWrite
void disableWrite()
disableWrite0
void disableWrite0()
disableWrite1
void disableWrite1()
update
void update()
clear
void clear()
increment
void increment()
set
void set()
passThrough0
void passThrough0()
passThrough1
void passThrough1()
sum
void sum()
subtract
void subtract()
multiply
void multiply()
divide
void divide()
modulo
void modulo()
and
void and()
or
void or()
xor
void xor()
equal
void equal()
notEqual
void notEqual()
greaterThan
void greaterThan()
lessThan
void lessThan()
greaterOrEqual
void greaterOrEqual()
lessOrEqual
void lessOrEqual()
complement
void complement()
complement0
void complement0()
complement1
void complement1()
shiftLeft0
void shiftLeft0(int numOfBits,
boolean filler)
shiftLeft1
void shiftLeft1(int numOfBits,
boolean filler)
shiftRight0
void shiftRight0(int numOfBits,
boolean filler)
shiftRight1
void shiftRight1(int numOfBits,
boolean filler)
get_decimal
int get_decimal()
get_decimal
int get_decimal(int bitIndex)
get_decimal
int get_decimal(int bitStart,
int bitEnd)