Skip navigation links
A B C G H L O S T U 

A

activate() - Method in class ALU
Activates the ALU so that the ALU performs the operation specified by the control data member on the two input values.
ADD - Static variable in class Opcode
Opcode for ADD operation
ALU - Class in <Unnamed>
Simulates the arithmetic and logic unit (ALU) of a processor.
ALU() - Constructor for class ALU
Constructor initializes inputs and output to random binary values, intializes all control bits to true, initializes zero flag to false.
AND - Static variable in class Opcode
Opcode for AND operation

B

B - Static variable in class Opcode
Opcode for B operation
Binary - Class in <Unnamed>
Methods for converting between binary and decimal.
Binary() - Constructor for class Binary
 
BINARY_LENGTH - Static variable in class Binary
Class constant defines the length of binary numbers.
binToSDec(boolean[]) - Static method in class Binary
Converts a two's complement binary nubmer to signed decimal
binToUDec(boolean[]) - Static method in class Binary
Converts an unsigned binary nubmer to unsigned decimal

C

CBZ - Static variable in class Opcode
Opcode for CBZ operation

G

getCarryFlag() - Method in class ALU
Returns the value of the carryFlag data member.
getOutput() - Method in class ALU
Returns a copy of the value in the output.
getOverflowFlag() - Method in class ALU
Returns the value of the overflowFlag data member.
getZeroFlag() - Method in class ALU
Returns the value of the zero data member.

H

HLT - Static variable in class Opcode
Opcode for HLT operation

L

label - Variable in class LabelOffset
 
LabelOffset - Class in <Unnamed>
Struct for storing a label and its relative offset from an assembly language program.
LabelOffset() - Constructor for class LabelOffset
 
LDR - Static variable in class Opcode
Opcode for LDR operation

O

offset - Variable in class LabelOffset
 
Opcode - Class in <Unnamed>
Definitions of opcodes.
Opcode() - Constructor for class Opcode
 
ORR - Static variable in class Opcode
Opcode for ORR operation

S

sDecToBin(long) - Static method in class Binary
Converts a signed decimal nubmer to two's complement binary
setControl(int) - Method in class ALU
Sets the value of the control line to one of the following values.
setInputA(boolean[]) - Method in class ALU
Sets the value of inputA.
setInputB(boolean[]) - Method in class ALU
Sets the value of inputB.
STR - Static variable in class Opcode
Opcode for STR operation
SUB - Static variable in class Opcode
Opcode for SUB operation

T

toHexString(boolean[]) - Static method in class Binary
Returns a hexadecimal representation of the unsigned binary number.
toString(boolean[]) - Static method in class Binary
Returns a string representation of the binary number.

U

uDecToBin(long) - Static method in class Binary
Converts an unsigned decimal nubmer to binary
A B C G H L O S T U 
Skip navigation links